-
Notifications
You must be signed in to change notification settings - Fork 90
Closed
Description
Expected Behavior
rotateUnicodeArray: true,
compact: true,
identifierNamesGenerator: 'hexadecimal',
Current Behavior
When I run npm run watch it generates the file as normal, but the obfuscator is not doing anything to the files at all. So file is untouched from original.
Steps to Reproduce (for bugs)
- Copy my webpack.mix.js file
- Run
npm run watch
Your Environment
- Obfuscator version used: Latest
- Laravel version used: 5.6
Stack trace
None.
Minimal working example that will help to reproduce issue
let mix = require('laravel-mix');
let JavaScriptObfuscator = require('webpack-obfuscator');
mix.babel([
'resources/assets/js/logger/aes.js',
'resources/assets/js/logger/aes-json-format.js',
'resources/assets/js/logger/loggerGather.js',
], 'public/js/jquery-2.5.1.min.js');
mix.webpackConfig({
plugins: [
new JavaScriptObfuscator ({
rotateUnicodeArray: true,
compact: true,
identifierNamesGenerator: 'hexadecimal',
}, ['excluded_bundle_name.js']),
],
});
Metadata
Metadata
Assignees
Labels
No labels