You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling in development mode, everything works without any problem. But when attempting to compile in production mode, I get his error:
> camelnotes@0.0.1 build
> webpack build --mode production
assets by status 733 bytes [cached] 2 assets
runtime modules 1.06 KiB 2 modules
./src/index.js 79 bytes [built] [code generated]
ERROR in 059bfb46c836495d9b216d612e4b48ef.js
059bfb46c836495d9b216d612e4b48ef.js from Terser plugin
Unexpected token: operator (<) [059bfb46c836495d9b216d612e4b48ef.js:6,16]
at js_error (/home/michael/Documents/Programming/WebDev/Projects/camelnotes/node_modules/terser/dist/bundle.min.js:546:11)
at croak (/home/michael/Documents/Programming/WebDev/Projects/camelnotes/node_modules/terser/dist/bundle.min.js:1270:9)
at token_error (/camelnotes/node_modules/terser/dist/bundle.min.js:1278:9)
at unexpected (/camelnotes/node_modules/terser/dist/bundle.min.js:1284:9)
at expr_atom (/camelnotes/node_modules/terser/dist/bundle.min.js:2523:9)
at maybe_unary (/camelnotes/node_modules/terser/dist/bundle.min.js:3308:19)
at expr_ops (/camelnotes/node_modules/terser/dist/bundle.min.js:3359:24)
at maybe_conditional (/camelnotes/node_modules/terser/dist/bundle.min.js:3364:20)
at maybe_assign (/home/michael/Documents/Programming/WebDev/Projects/camelnotes/node_modules/terser/dist/bundle.min.js:3441:20)
at expression (/camelnotes/node_modules/terser/dist/bundle.min.js:3466:24)
webpack 5.73.0 compiled with 1 error in 186 ms
Apparently, it caused by the Terser plugin.
Any help would be more than welcome.
The text was updated successfully, but these errors were encountered:
When compiling in development mode, everything works without any problem. But when attempting to compile in production mode, I get his error:
Apparently, it caused by the Terser plugin.
Any help would be more than welcome.
The text was updated successfully, but these errors were encountered: