webpack - uglifyJs
See original GitHub issueERROR in js/main.js from UglifyJs SyntaxError: Unexpected token: name (NotificationsService) [js/main.js:25756,6]
i tried to run it without uglify plugin and i see this:
...
"use strict";
"use strict";
const core_1 = __webpack_require__(0);
const Subject_1 = __webpack_require__(56);
const icons_1 = __webpack_require__(636);
class NotificationsService {
...
Shouldnt the js files published to npm be in es5?
Issue Analytics
- State:
- Created 7 years ago
- Comments:21 (9 by maintainers)
Top Results From Across the Web
uglifyjs-webpack-plugin - npm
UglifyJS Webpack Plugin. This plugin uses uglify-js to minify your JavaScript. Requirements. This module requires a minimum of Node v6.9.0 ...
Read more >UglifyJS and webpack v5 - Stack Overflow
We've been using UglifyJS and webpack v4 for our react code, but then just updated to webpack v5. It appears that UglifyJS does...
Read more >uglifyjs-webpack-plugin - npm.io
UglifyJS Webpack Plugin. This plugin uses uglify-js to minify your JavaScript. Requirements. This module requires a minimum of Node v6.9.0 and Webpack ......
Read more >UglifyjsWebpackPlugin
This plugin uses UglifyJS v3 ( uglify-es ) to minify your JavaScript. ℹ️ webpack =< v3.0.0 currently contains v0.4.6 of this plugin under...
Read more >uglifyjs-webpack-plugin examples - CodeSandbox
Learn how to use uglifyjs-webpack-plugin by viewing and forking example apps that make use of uglifyjs-webpack-plugin on CodeSandbox.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @notprathap and @flauc
Thanks so much for your help, I just used the updated npm package and it’s working perfectly!
Great component guys, very useful for our project!
Hey, It appears unrelated to this package. May be try upgrading Angular core?