-
-
Notifications
You must be signed in to change notification settings - Fork 164
Closed
Description
Bug report
next.js uses terser-webpack-plugin and it uses "terser": "^5.19.2"
more information is here: terser/terser#1451
Actual Behavior
Next.js Build failed since there is an Unexpected token: punc ({) error which is related to terser-webpack-plugin that uses old version of terser
Expected Behavior
Next.js build should be success after updating terser to 5.20.0 version
How Do We Reproduce?
- install the latest next.js version (13.5.1)
- install kaboom (https://github.com/replit/kaboom)
- import kaboom and use it (you can use combine with react? replit/kaboom#74 (comment) snippet)
- try to run
npm run build
Please paste the results of npx webpack-cli info here, and mention other relevant information
It is inside next.js, we can't do that. it shows:
Need to install the following packages: [email protected]
Metadata
Metadata
Assignees
Labels
No labels