denisraslov/react-spreadsheet-grid

Cannot build with Parcel: Unterminated regular expression

开放

#39 创建于 2020年3月21日

 (0 条评论) (0 个反应) (0 位负责人)JavaScript (56 个派生)batch import
help wanted

仓库指标

星标
 (1,175 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

$ 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

贡献者指南