presetter-kernel-module-preset/templates/vite.config.js

13 lines
335 B
JavaScript
Raw Normal View History

2023-07-08 06:07:37 +00:00
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}),
],
});