Top "Uglifyjs2" questions

A general-purpose JavaScript parser/compressor/beautifier toolkit developed on Node.

UglifyJS throws unexpected token: keyword (const) with node_modules

A small project I started make use a node module (installed via npm) that declares const variables. Running and testing …

javascript npm gulp babeljs uglifyjs2
How to minify multiple Javascript files in a folder with UglifyJS?

Hello I'm using uglifyJs to minify my javascript files, it's working well with one file at a time, what I'm …

node.js uglifyjs uglifyjs2
Can uglify-js remove the console.log statements?

I'm using uglify-js to minify the source code. I want to remove the console.log statements of the original source …

javascript node.js uglifyjs2
Failed to minify the code from this file

I am authoring a JavaScript library that I want to put on npm. I am currently using that library in …

javascript node.js minify uglifyjs2
How to exclude certain requireJS files from uglifying/optimizing

I have a working requirejs project that is using grunt for building and deployment. If using no optimization at all, …

requirejs require gruntjs uglifyjs uglifyjs2
UglifyJS webpack plugin throws: Unexpected token: name (features)

I used to have problems with UglifyJS for Webpack and ES6 modules: ERROR in static/js/vendor.6ccd9e38979a78765…

javascript webpack ecmascript-6 uglifyjs uglifyjs2
Using UglifyJs on the whole Node project?

I need to obfuscate my source code as best as possible so I decided to use uglifyjs2.. Now I have …

node.js obfuscation uglifyjs uglifyjs2
How to uglify JavaScript using UglifyJS 2?

I tried to uglify a simple javascript file using UglifyJS2. Here are the contents of the file : //this is simply …

javascript uglifyjs2
Running UglifyJS under node.js generates cannot find module error

Running node.js v0.10.15 on windows 7 - installed VIA node-v0.10.15-x86.msi. Downloaded latest UglifyJS2 library. Created batch file with …

javascript node.js uglifyjs2