2023-07-08 06:07:37 +00:00
|
|
|
import { defineConfig } from "vite";
|
|
|
|
import optimizer from "vite-plugin-optimizer";
|
|
|
|
import { nodePolyfills } from "vite-plugin-node-polyfills";
|
|
|
|
export default defineConfig({
|
2023-07-29 17:54:39 +00:00
|
|
|
define: {viteDefine},
|
2023-07-08 06:07:37 +00:00
|
|
|
build: {viteBuild},
|
|
|
|
resolve: {viteResolve},
|
|
|
|
plugins: [
|
|
|
|
optimizer({viteOptimize}),
|
|
|
|
nodePolyfills({vitePolyfill}),
|
|
|
|
],
|
|
|
|
});
|