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:
@@ -12,6 +12,10 @@ import { JavaScriptObfuscatorCLI } from "./cli/JavaScriptObfuscatorCLI";
|
||||
import { Obfuscator } from "./Obfuscator";
|
||||
import { Options } from "./Options";
|
||||
|
||||
if (!(<any>global)._babelPolyfill) {
|
||||
require('babel-polyfill');
|
||||
}
|
||||
|
||||
export class JavaScriptObfuscator {
|
||||
/**
|
||||
* @type {GenerateOptions}
|
||||
|
||||
Reference in New Issue
Block a user