import.meta emits an error.
dynamic import( './module.js' ) also emits an error.
I tried to avoid the issue with // javascript-obfuscator:disable, but that didn't help 🐙
Current Behavior
throws Error: Unexpected token import
Minimal working example that will help to reproduce issue
-
import.meta
console.log( import.meta );
-
dynamic import
import( './module.js' );
-
dynamic import with an attempt to avoid obfuscating
// javascript-obfuscator:disable
import( './module.js' );
// javascript-obfuscator:enable
import.metaemits an error.dynamic
import( './module.js' )also emits an error.I tried to avoid the issue with
// javascript-obfuscator:disable, but that didn't help 🐙Current Behavior
throws
Error: Unexpected token importMinimal working example that will help to reproduce issue
import.meta
console.log( import.meta );
dynamic import
import( './module.js' );
dynamic import with an attempt to avoid obfuscating
// javascript-obfuscator:disable
import( './module.js' );
// javascript-obfuscator:enable