@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
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',
|