hughsk / uglifyify

A browserify transform which minifies your code using UglifyJS2
Other
376 stars 61 forks source link

Fatal error: `ignore` is not a supported option while parsing file: #88

Open Spongman opened 6 years ago

Spongman commented 6 years ago

uglifyify@5.0.0

the docs have this:

bundler.transform('uglifyify', {
  global: true,
  ignore: [
      '**/node_modules/weakmap/*'
    , '**/node_modules/async/*'
  ]
})

but if you do this you get:

Fatal error: `ignore` is not a supported option while parsing file: xyz.js while parsing file: xyz.js

either i'm doing something else wrong, or this is a blocking regression.

trcolgrove commented 6 years ago

I'm having the same problem

trcolgrove commented 6 years ago

https://github.com/hughsk/uglifyify/issues/73 found this closed issue which never got fixed