mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
added back babel-polyfill
This commit is contained in:
@@ -2,4 +2,8 @@
|
||||
|
||||
import { JavaScriptObfuscator } from './src/JavaScriptObfuscator';
|
||||
|
||||
if (!(<any>global)._babelPolyfill) {
|
||||
require('babel-polyfill');
|
||||
}
|
||||
|
||||
module.exports = JavaScriptObfuscator;
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
"javascript-obfuscator": "./bin/javascript-obfuscator.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"babel-polyfill": "^6.9.1",
|
||||
"chance": "^1.0.3",
|
||||
"commander": "^2.9.0",
|
||||
"escodegen": "^1.8.0",
|
||||
|
||||
Reference in New Issue
Block a user