denisraslov/react-spreadsheet-grid

Cannot build with Parcel: Unterminated regular expression

Open

#39 创建于 2020年3月21日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)JavaScript (949 star) (50 fork)batch import
help wanted

描述

$ PRODUCT_TYPE=webapp parcel entry/src/index.html --open
Server running at http://localhost:1234 
⚠️  Could not load existing sourcemap of "../../node_modules/react-spreadsheet-grid/lib/bundle.js".
🚨  /node_modules/react-spreadsheet-grid/lib/bundle.js:520:83: Unterminated regular expression (520:83)
  518 |         if (sourceMap) {
  519 |                 // http://stackoverflow.com/a/26603875
> 520 |                 css += "\n + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + " */";
      |                                                                                                 ^
  521 |         }
  522 | 
  523 |         var blob = new Blob([css], { type: "text/css" });
  • react-spreadsheet-grid version: 1.4.3
  • parcel-bundler version: 1.12.4

贡献者指南