@meteorjs/rspack 0.3.54 → 0.3.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/rspack.config.js +5 -1
package/package.json
CHANGED
package/rspack.config.js
CHANGED
|
@@ -427,6 +427,8 @@ module.exports = async function (inMeteor = {}, argv = {}) {
|
|
|
427
427
|
}),
|
|
428
428
|
]
|
|
429
429
|
: [];
|
|
430
|
+
// Not supported in Meteor yet (Rspack 1.7+ is enabled by default)
|
|
431
|
+
const lazyCompilationConfig = { lazyCompilation: false };
|
|
430
432
|
|
|
431
433
|
const clientEntry =
|
|
432
434
|
isTest && isTestEager && isTestFullApp
|
|
@@ -545,7 +547,8 @@ module.exports = async function (inMeteor = {}, argv = {}) {
|
|
|
545
547
|
},
|
|
546
548
|
},
|
|
547
549
|
}),
|
|
548
|
-
...merge(cacheStrategy, { experiments: { css: true } })
|
|
550
|
+
...merge(cacheStrategy, { experiments: { css: true } }),
|
|
551
|
+
...lazyCompilationConfig,
|
|
549
552
|
};
|
|
550
553
|
|
|
551
554
|
const serverEntry =
|
|
@@ -633,6 +636,7 @@ module.exports = async function (inMeteor = {}, argv = {}) {
|
|
|
633
636
|
devtool: isDevEnvironment || isNative || isTest ? 'source-map' : 'hidden-source-map',
|
|
634
637
|
...((isDevEnvironment || (isTest && !isTestEager) || isNative) &&
|
|
635
638
|
cacheStrategy),
|
|
639
|
+
...lazyCompilationConfig,
|
|
636
640
|
};
|
|
637
641
|
|
|
638
642
|
// Helper function to load and process config files
|