chore: minify injected code (#9804)

This commit is contained in:
jrandolf 2023-03-08 12:17:18 +01:00 committed by GitHub
parent 394ef89f8e
commit c1a7c736ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

4
package-lock.json generated
View File

@ -8419,7 +8419,7 @@
},
"devDependencies": {
"mitt": "3.0.0",
"parsel-js": "git+ssh://git@github.com/jrandolf/parsel.git#f3ac5a371c382df9e5a8425d239594802562ee0f"
"parsel-js": "github:jrandolf/parsel"
},
"engines": {
"node": ">=14.14.0"
@ -13387,7 +13387,7 @@
"extract-zip": "2.0.1",
"https-proxy-agent": "5.0.1",
"mitt": "3.0.0",
"parsel-js": "git+ssh://git@github.com/jrandolf/parsel.git#f3ac5a371c382df9e5a8425d239594802562ee0f",
"parsel-js": "github:jrandolf/parsel",
"proxy-from-env": "1.1.0",
"tar-fs": "2.1.1",
"unbzip2-stream": "1.4.3",

View File

@ -50,6 +50,7 @@ chdir(packageRoot);
format: 'cjs',
platform: 'browser',
target: 'ES2022',
minify: true,
});
const baseName = path.basename(input);
const content = await readFile(