Files
Aurora-SpotiRip/vite.config.ts
T

22 lines
457 B
TypeScript
Raw Normal View History

2026-09-25 23:20:57 -05:00
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
import { nodePolyfills } from "vite-plugin-node-polyfills";
export default defineConfig(() => ({
plugins: [
nodePolyfills({
include: ["stream", "crypto", "process"],
globals: {
Buffer: true,
global: true,
process: true,
},
protocolImports: true,
}),
react(),
],
build: {
assetsDir: "_assets",
},
}));