@meteorjs/rspack 0.0.18 → 0.0.19

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meteorjs/rspack",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "description": "Configuration logic for using Rspack in Meteor projects",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -17,7 +17,6 @@ export default class CleanBuildAssetsPlugin {
17
17
  constructor(options = {}) {
18
18
  const defaults = [
19
19
  'public/_build-assets',
20
- 'public/_build-bundles',
21
20
  'private/_build-assets',
22
21
  ];
23
22
 
package/rspack.config.js CHANGED
@@ -243,6 +243,7 @@ export default function (inMeteor = {}, argv = {}) {
243
243
  cssChunkFilename: `${assetsContext}/[id]${
244
244
  isProd ? '.[contenthash]' : ''
245
245
  }.css`,
246
+ clean: isProd,
246
247
  },
247
248
  optimization: {
248
249
  usedExports: true,
@@ -302,7 +303,7 @@ export default function (inMeteor = {}, argv = {}) {
302
303
  </body>
303
304
  `,
304
305
  }),
305
- new RspackMeteorHtmlPlugin({}),
306
+ new RspackMeteorHtmlPlugin(),
306
307
  ],
307
308
  watchOptions,
308
309
  devtool: isDevEnvironment || isTest ? 'source-map' : 'hidden-source-map',