dimanche 12 février 2017

Getting uglifyjs error in angular2 while running it in production environment

Vote count: 0

I am working on 1 angular2 app, and its working properly on devserver but creating problem/getting error while running it in production part.

ERROR in app.25988e783128ca88bc71.js from UglifyJs SyntaxError: Unexpected token: punc ({) [./src/main.ts:1,0]

ERROR in polyfills.25988e783128ca88bc71.js from UglifyJs SyntaxError: Unexpected token: string (core-js/es6) [./src/polyfills.ts:1,0]

ERROR in vendor.25988e783128ca88bc71.js from UglifyJs SyntaxError: Unexpected token: string (@angular/platform-browser) [./src/vendor. ts:2,0]

asked 23 secs ago

Let's block ads! (Why?)



Getting uglifyjs error in angular2 while running it in production environment

Aucun commentaire:

Enregistrer un commentaire