mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-14 09:39:15 +00:00
Compare commits
1 Commits
threading-
...
dependabot
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
03ab8d5ace |
@@ -13,7 +13,6 @@
|
|||||||
|
|
||||||
// If the loader is already loaded, just stop.
|
// If the loader is already loaded, just stop.
|
||||||
if (!self.<%- amdFunctionName %>) {
|
if (!self.<%- amdFunctionName %>) {
|
||||||
Object.defineProperty(navigator, 'hardwareConcurrency', { value: 4 });
|
|
||||||
let registry = {};
|
let registry = {};
|
||||||
|
|
||||||
const singleRequire = (uri, parentUri) => {
|
const singleRequire = (uri, parentUri) => {
|
||||||
|
|||||||
7945
package-lock.json
generated
7945
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -44,7 +44,7 @@
|
|||||||
"prettier": "^2.4.1",
|
"prettier": "^2.4.1",
|
||||||
"rollup": "^2.38.0",
|
"rollup": "^2.38.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"serve": "^11.3.2",
|
"serve": "^14.1.2",
|
||||||
"typescript": "^4.4.4",
|
"typescript": "^4.4.4",
|
||||||
"which": "^2.0.2",
|
"which": "^2.0.2",
|
||||||
"wasm-feature-detect": "^1.2.11"
|
"wasm-feature-detect": "^1.2.11"
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ export default async function ({ watch }) {
|
|||||||
resolve(),
|
resolve(),
|
||||||
replace({ __PRERENDER__: false, __PRODUCTION__: isProduction }),
|
replace({ __PRERENDER__: false, __PRODUCTION__: isProduction }),
|
||||||
entryDataPlugin(),
|
entryDataPlugin(),
|
||||||
//isProduction ? terser({ module: true }) : {},
|
isProduction ? terser({ module: true }) : {},
|
||||||
],
|
],
|
||||||
preserveEntrySignatures: false,
|
preserveEntrySignatures: false,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user