#Ng build --prod error Unexpected token punc ({)
1 messages · Page 1 of 1 (latest)
Show more code
Error: Optimization error [main.6cb45a9e39fd8ca9.js]: SyntaxError: Unexpected token: punc ({)
at js_error (/Users/adam/Desktop/work/meta_dev/respect/node_modules/.pnpm/[email protected]/node_modules/terser/dist/bundle.min.js:554:11)
at croak (/Users/adam/Desktop/work/meta_dev/respect/node_modules/.pnpm/[email protected]/node_modules/terser/dist/bundle.min.js:1278:9)
at token_error (/Users/adam/Desktop/work/meta_dev/respect/node_modules/.pnpm/[email protected]/node_modules/terser/dist/bundle.min.js:1286:9)
at unexpected (/Users/adam/Desktop/work/meta_dev/respect/node_modules/.pnpm/[email protected]/node_modules/terser/dist/bundle.min.js:1292:9)
at as_property_name (/Users/adam/Desktop/work/meta_dev/respect/node_modules/.pnpm/[email protected]/node_modules/terser/dist/bundle.min.js:3082:20)
at concise_method_or_getset (/Users/adam/Desktop/work/meta_dev/respect/node_modules/.pnpm/[email protected]/node_modules/terser/dist/bundle.min.js:2735:20)
at class_ (/Users/adam/Desktop/work/meta_dev/respect/node_modules/.pnpm/[email protected]/node_modules/terser/dist/bundle.min.js:2691:22)
at statement (/Users/adam/Desktop/work/meta_dev/respect/node_modules/.pnpm/[email protected]/node_modules/terser/dist/bundle.min.js:1343:26)
at block_ (/Users/adam/Desktop/work/meta_dev/respect/node_modules/.pnpm/[email protected]/node_modules/terser/dist/bundle.min.js:2178:20)
at /Users/adam/Desktop/work/meta_dev/respect/node_modules/.pnpm/@[email protected]_biuqg2aifdbauvdck4ujit5ssi/node_modules/@angular-devkit/build-angular/src/webpack/plugins/javascript-optimizer-plugin.js:154:55
at async Promise.all (index 43)
at async /Users/adam/Desktop/work/meta_dev/respect/node_modules/.pnpm/@[email protected]_biuqg2aifdbauvdck4ujit5ssi/node_modules/@angular-devkit/build-angular/src/webpack/plugins/javascript-optimizer-plugin.js:158:21
error message
More of this code:
index.ts
export { DividerViewComponent } from './lib/view/divider/divider.view.component';
there is nothing more