mirror of
https://github.com/PlayEdu/h5.git
synced 2025-06-23 17:42:43 +08:00
vite config
This commit is contained in:
parent
beb2bd6a89
commit
6f58b1a783
@ -4,10 +4,13 @@ import gzipPlugin from "rollup-plugin-gzip";
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
server: {
|
||||
host: "0.0.0.0",
|
||||
},
|
||||
plugins: [react()],
|
||||
build: {
|
||||
rollupOptions: {
|
||||
plugins: [gzipPlugin()],
|
||||
},
|
||||
}
|
||||
},
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user