pastelsky / bundlephobia

🏋️ Find out the cost of adding a new frontend dependency to your project
https://bundlephobia.com
MIT License
8.89k stars 221 forks source link

BuildError: to-spreadsheet fails to Module parse failed #824

Closed maifeeulasad closed 11 months ago

maifeeulasad commented 11 months ago

Package name

to-spreadsheet

Entire (stringified) error that I see in my browser console

/tmp/tmp-build/packages/build-to-spreadsheet-UE3/node_modules/to-spreadsheet/src/index.ts 4:0 Module parse failed: The keyword 'enum' is reserved (4:0) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders | import { SkipCell, skipCell, Equation, writeEquation } from "./util"; | > enum ICellType { | string = "s", | number = "n", @ /tmp/tmp-build/packages/build-to-spreadsheet-UE3/index.js 1:10-35

GitHub source: https://github.com/maifeeulasad/to-spreadsheet

maifeeulasad commented 11 months ago

Resolved it with: https://github.com/maifeeulasad/to-spreadsheet/releases/tag/v1.1.4