0.0.5 • Published 8 years ago

webpack-js-obfuscator v0.0.5

Weekly downloads
12
License
ISC
Repository
github
Last release
8 years ago

#JSObfuscator plugin for Webpack

###Installation

Install the package with NPM and add it to your devDependencies:

npm install --save-dev webpack-js-obfuscator

###Usage:

var WebpackJsObfuscator = require('webpack-js-obfuscator');

// ...

// webpack plugins array
plugins: [
	new UglifyJsPlugin(), // better to use with UglifyJsPlugin
	new WebpackJsObfuscator({}, ['excluded_bundle_name.js'])
],

###obfuscatorOptions Type: Object Default: null

Options for js-obfuscator. Should be passed exactly like described on their page.

###excludes Type: Array or String Default: []

Examples: ['excluded_bundle_name.js', '**_bundle_name.js'] or 'excluded_bundle_name.js'

Can be used to bypass obfuscation of some files.

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago