Skip to content

Commit

Permalink
chore: split vendor code in build process
Browse files Browse the repository at this point in the history
  • Loading branch information
w-gao committed Apr 4, 2023
1 parent e8f8856 commit 9f01089
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions packages/web/.eslintrc.json

This file was deleted.

4 changes: 2 additions & 2 deletions packages/web/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { defineConfig } from "vite"
import { defineConfig, splitVendorChunkPlugin } from "vite"
import preact from "@preact/preset-vite"

// https://vitejs.dev/config/
export default defineConfig({
plugins: [preact()],
plugins: [preact(), splitVendorChunkPlugin()],
})

0 comments on commit 9f01089

Please sign in to comment.