Skip to content

Commit 184efa0

Browse files
committed
fix(create-plugin): remove output.clean as incompatible with regex right now
1 parent 3bd753c commit 184efa0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/create-plugin/templates/common/.config/rspack/rspack.config.ts

-3
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,6 @@ const config = async (env): Promise<Configuration> => {
171171
},
172172

173173
output: {
174-
clean: {
175-
keep: new RegExp(`(.*?_(amd64|arm(64)?)(.exe)?|go_plugin_build_manifest)`),
176-
},
177174
filename: '[name].js',
178175
chunkFilename: env.production ? '[name].js?_cache=[contenthash]' : '[name].js',
179176
library: {

0 commit comments

Comments
 (0)