ember-cli-jscrambler
Installation
ember install ember-cli-jscrambler
Usage
After installing ember-cli-jscrambler
it will automatically hook into the build
pipeline. In order to protect your code you need to add a .jscramblerrc file to the root of your directory your JS files will them be protected in production builds.
If you want to customize how ember-cli-jscrambler
is running Jscrambler under the
hood you can exclude specific files by specifying them as it follows
var app = new EmberApp({
'ember-cli-jscrambler': {
exclude: ['assets/vendor.js'],
}
});
Options
exclude?: string[]
: A list of paths or globs to exclude from minification