Compare commits

..

1 Commits

Author SHA1 Message Date
5bc2b1e121 Reduce threads 2023-01-09 12:02:43 +00:00
4 changed files with 7318 additions and 646 deletions

View File

@ -13,6 +13,7 @@
// If the loader is already loaded, just stop.
if (!self.<%- amdFunctionName %>) {
Object.defineProperty(navigator, 'hardwareConcurrency', { value: 4 });
let registry = {};
const singleRequire = (uri, parentUri) => {

7959
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -44,7 +44,7 @@
"prettier": "^2.4.1",
"rollup": "^2.38.0",
"rollup-plugin-terser": "^7.0.2",
"serve": "^14.1.2",
"serve": "^11.3.2",
"typescript": "^4.4.4",
"which": "^2.0.2",
"wasm-feature-detect": "^1.2.11"

View File

@ -129,7 +129,7 @@ export default async function ({ watch }) {
resolve(),
replace({ __PRERENDER__: false, __PRODUCTION__: isProduction }),
entryDataPlugin(),
isProduction ? terser({ module: true }) : {},
//isProduction ? terser({ module: true }) : {},
],
preserveEntrySignatures: false,
},