Compare commits

..

1 Commits

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

View File

@@ -159,11 +159,13 @@ dependencies = [
[[package]]
name = "crossbeam-utils"
version = "0.8.14"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4fb766fa798726286dbbb842f174001dab8abc7b627a1dd86e0b7222a95d929f"
checksum = "02d96d1e189ef58269ebe5b97953da3274d83a93af647c2ddd6f9dab28cedb8d"
dependencies = [
"autocfg",
"cfg-if 1.0.0",
"lazy_static",
]
[[package]]

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) => {

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,
},