-
**Uglify version (`uglifyjs -V`)** 3.19.3
**JavaScript input**
```js
self.MyGlobal = 1
console.log(self.MyGlobal);
console.log(self.MyGlobal2);
```
**The `uglifyjs` CLI command executed…
-
It would be great if you run uglify/ugllify2 afterwards to further minimize file size.
pjebs updated
5 years ago
-
-
Hello,
I tried your application but I get an error after I did npm start
```
ERROR in main.js from UglifyJs
Unexpected token: name (urlParts) [main.js:10579,4]
```
-
Theres an issue between webpack, UglifyJS and ansi-styles 3.0.0.
Originally brought up here https://github.com/mishoo/UglifyJS2/issues/448#issuecomment-274205172
@mikeerickson Everytime you post…
-
seems [uglifyjs does not support es6](https://stackoverflow.com/questions/47439067/uglifyjs-throws-unexpected-token-keyword-const-with-node-modules), leaving to failed minification:
```
Jul 29 16:…
-
I've just read that uglify-js is actually [no longer maintained](https://github.com/mishoo/UglifyJS2/issues/3156#issuecomment-392943058). However, [terser](https://github.com/terser/terser) is, and it…
-
I've cloned this repo and followed the README.md:
npm install
nmp run postinstall
npm run start-dev
During install there are a few warnings about deprecating dependencies breaking on node v14+
…
-
When I try to do `npm run build`, it fails to find `uglifyjs`. The error message is attached below:
```
PS C:\ComfyUI\litegraph\litegraph.js-daniel> npm run build
> @mr_pebble/litegraph@0.10.3 …
-
# UglifyJS 3 & CLI
https://github.com/gildata/UglifyJS-3/blob/UglifyJS3/README.md#command-line-usage
https://github.com/gildata/UglifyJS-3/blob/UglifyJS3/README.md#api-reference