Open derrickb opened 5 years ago
Instead of adding an option, this package could also change javascript-obfuscator
to a peer dependency.
Instead of adding an option, this package could also change
javascript-obfuscator
to a peer dependency.
Even better!
As seen in this fork: https://github.com/arekzelechowski/rollup-plugin-javascript-obfuscator/commit/0f1d1b1f7af6005ce5bdfcd3ff88aeef722e8830
This is really useful as it allows for decoupling of the plugin from the obfuscator version, and also allows us to specify a version of the obfuscator which is sometimes required (eg. if a bug was present in latest).