@meteorjs/rspack 0.3.53 → 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.
@@ -199,7 +199,6 @@ function disablePlugins(config, matchers) {
199
199
  return !matches;
200
200
  });
201
201
 
202
- config.plugins = kept;
203
202
  return config;
204
203
  }
205
204
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meteorjs/rspack",
3
- "version": "0.3.53",
3
+ "version": "0.3.55",
4
4
  "description": "Configuration logic for using Rspack in Meteor projects",
5
5
  "main": "index.js",
6
6
  "type": "commonjs",
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