chore: minify injected code (#9804)
This commit is contained in:
parent
394ef89f8e
commit
c1a7c736ff
4
package-lock.json
generated
4
package-lock.json
generated
@ -8419,7 +8419,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"mitt": "3.0.0",
|
"mitt": "3.0.0",
|
||||||
"parsel-js": "git+ssh://git@github.com/jrandolf/parsel.git#f3ac5a371c382df9e5a8425d239594802562ee0f"
|
"parsel-js": "github:jrandolf/parsel"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=14.14.0"
|
"node": ">=14.14.0"
|
||||||
@ -13387,7 +13387,7 @@
|
|||||||
"extract-zip": "2.0.1",
|
"extract-zip": "2.0.1",
|
||||||
"https-proxy-agent": "5.0.1",
|
"https-proxy-agent": "5.0.1",
|
||||||
"mitt": "3.0.0",
|
"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",
|
"proxy-from-env": "1.1.0",
|
||||||
"tar-fs": "2.1.1",
|
"tar-fs": "2.1.1",
|
||||||
"unbzip2-stream": "1.4.3",
|
"unbzip2-stream": "1.4.3",
|
||||||
|
@ -50,6 +50,7 @@ chdir(packageRoot);
|
|||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
platform: 'browser',
|
platform: 'browser',
|
||||||
target: 'ES2022',
|
target: 'ES2022',
|
||||||
|
minify: true,
|
||||||
});
|
});
|
||||||
const baseName = path.basename(input);
|
const baseName = path.basename(input);
|
||||||
const content = await readFile(
|
const content = await readFile(
|
||||||
|
Loading…
Reference in New Issue
Block a user