New CLI option: exclude

This commit is contained in:
sanex3339
2018-02-24 13:54:44 +03:00
parent 0d9c5f586c
commit e5778b4fa4
59 changed files with 1116 additions and 528 deletions
@@ -18,7 +18,7 @@ describe('JavaScriptObfuscator', () => {
let javaScriptObfuscator: IJavaScriptObfuscator;
describe('variant #1: default behaviour', () => {
describe('Variant #1: default behaviour', () => {
const regExp: RegExp = new RegExp(`sourceMappingURL=${sourceMapUrl}`);
let obfuscatedCode: string,
@@ -53,7 +53,7 @@ describe('JavaScriptObfuscator', () => {
});
});
describe('variant #2: `sourceMapBaseUrl` is set', () => {
describe('Variant #2: `sourceMapBaseUrl` is set', () => {
const sourceMapBaseUrl: string = 'http://localhost:9000';
const regExp: RegExp = new RegExp(`sourceMappingURL=${sourceMapBaseUrl}/${sourceMapUrl}$`);