Package Exports
- rollupv2.0-plugin-javascript-obfuscator
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rollupv2.0-plugin-javascript-obfuscator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
rollup-plugin-javascript-obfuscator
Rollup plugin for javascript-obfuscator.
Installation
Install the package:
- npm
npm install --save-dev rollup-plugin-javascript-obfuscator
- yarn
yarn add --dev rollup-plugin-javascript-obfuscator
Usage
Pass any options available in the obfuscator.
import obfuscatorPlugin from 'rollup-plugin-javascript-obfuscator'
export default {
inout: 'index.js',
output: {
file: 'dist/index.js'
},
plugins: [
obfuscatorPlugin({
...options
})
]
}
Source Maps
Inline source map configuration:
{
sourceMap: true,
sourceMapMode: 'inline'
}
Separate source map configuration:
{
sourceMap: true
}