fine to clear outdir

This commit is contained in:
Simon Knott 2024-11-08 11:40:47 +01:00
parent 814bf0d311
commit 29d21fda8d
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -41,8 +41,6 @@ export default defineConfig({
}, },
build: { build: {
outDir: path.resolve(__dirname, '../playwright-core/lib/vite/traceViewer'), outDir: path.resolve(__dirname, '../playwright-core/lib/vite/traceViewer'),
// Output dir is shared with vite.sw.config.ts, clearing it here is racy.
emptyOutDir: false,
rollupOptions: { rollupOptions: {
input: { input: {
index: path.resolve(__dirname, 'index.html'), index: path.resolve(__dirname, 'index.html'),