13 lines
335 B
JavaScript
13 lines
335 B
JavaScript
|
import { defineConfig } from "vite";
|
||
|
import path from "path";
|
||
|
import optimizer from "vite-plugin-optimizer";
|
||
|
import { nodePolyfills } from "vite-plugin-node-polyfills";
|
||
|
export default defineConfig({
|
||
|
build: {viteBuild},
|
||
|
resolve: {viteResolve},
|
||
|
plugins: [
|
||
|
optimizer({viteOptimize}),
|
||
|
nodePolyfills({vitePolyfill}),
|
||
|
],
|
||
|
});
|