Skip to content

Commit

Permalink
filter out .vite/manifest.json from ZIP package (webstore error when …
Browse files Browse the repository at this point in the history
…duplicate manifest.json)
  • Loading branch information
AdamNowotny committed Sep 12, 2024
1 parent d61697e commit 4fed16f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ export default defineConfig({
inDir: 'dist/build',
outDir: 'dist',
outFileName: 'build-reactor.zip',
filter: (_fileName: string, filePath: string, _isDirectory: boolean) =>
!filePath.startsWith('dist/build/.vite'),
}),
],
build: {
Expand Down

0 comments on commit 4fed16f

Please sign in to comment.