@meteorjs/rspack 0.0.62 → 0.0.64
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 +9 -7
package/package.json
CHANGED
package/rspack.config.js
CHANGED
|
@@ -278,7 +278,6 @@ module.exports = async function (inMeteor = {}, argv = {}) {
|
|
|
278
278
|
enabled === 'memory' ? undefined : cacheStrategy
|
|
279
279
|
);
|
|
280
280
|
Meteor.splitVendorChunk = () => splitVendorChunk();
|
|
281
|
-
Meteor.createAngularConfig = () => createAngularConfig();
|
|
282
281
|
|
|
283
282
|
// Add HtmlRspackPlugin function to Meteor
|
|
284
283
|
Meteor.HtmlRspackPlugin = (options = {}) => {
|
|
@@ -667,12 +666,15 @@ module.exports = async function (inMeteor = {}, argv = {}) {
|
|
|
667
666
|
}
|
|
668
667
|
|
|
669
668
|
// Establish Angular overrides to ensure proper integration
|
|
670
|
-
const angularExpandConfig = isAngularEnabled
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
669
|
+
const angularExpandConfig = isAngularEnabled
|
|
670
|
+
? {
|
|
671
|
+
mode: isProd ? "production" : "development",
|
|
672
|
+
devServer: { port: Meteor.devServerPort },
|
|
673
|
+
stats: { preset: "normal" },
|
|
674
|
+
infrastructureLogging: { level: "info" },
|
|
675
|
+
...(isProd && isClient && { output: { module: false } }),
|
|
676
|
+
}
|
|
677
|
+
: {};
|
|
676
678
|
|
|
677
679
|
const config = mergeSplitOverlap(
|
|
678
680
|
isClient ? clientConfig : serverConfig,
|