Now copyright comments not removing after minification

This commit is contained in:
sanex3339
2017-07-10 23:44:17 +03:00
parent 31fdfae074
commit 5d5a9a9ee1
4 changed files with 26 additions and 7 deletions
+23
View File
File diff suppressed because one or more lines are too long
@@ -462,7 +462,7 @@ describe('JavaScriptObfuscator', () => {
});
describe('3.5k variables', function () {
this.timeout(100000);
this.timeout(200000);
const expectedValue: number = 3500;
+1 -1
View File
@@ -11,7 +11,7 @@ const copyright = 'Copyright (C) 2017 Timofey Kachalov <sanex3339@yandex.ru>';
* @return {string}
*/
const getLicenseText = () => {
return `/*\n${copyright}\n\n` +
return `/*!\n${copyright}\n\n` +
fs.readFileSync('./LICENSE.BSD', 'utf8') + "\n*/";
};
+1 -5
View File
@@ -50,11 +50,7 @@
version "2.2.41"
resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-2.2.41.tgz#e27cf0817153eb9f2713b2d3f6c68f1e1c3ca608"
"@types/node@*":
version "8.0.9"
resolved "https://registry.yarnpkg.com/@types/node/-/node-8.0.9.tgz#19f44c3b6cb8a70d261d366f73650e3e3891ab2d"
"@types/node@8.0.10":
"@types/node@*", "@types/node@8.0.10":
version "8.0.10"
resolved "https://registry.yarnpkg.com/@types/node/-/node-8.0.10.tgz#12efec9183b072d5f951cf86395a4c780f868a17"