Skip to content

Commit b604819

Browse files
committed
Clean config directory during build
1 parent 770662d commit b604819

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

esbuild.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@ const { NodeGlobalsPolyfillPlugin } = require('@esbuild-plugins/node-globals-pol
2828
process: true,
2929
buffer: true
3030
}),
31-
clean({ patterns: ['./public/build/**/*'] })
31+
clean({
32+
patterns: [
33+
'./public/build/**/*',
34+
'./public/config/**/*',
35+
]
36+
})
3237
]
3338
})
3439
.catch(() => process.exit(1));

0 commit comments

Comments
 (0)