-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvite.config.ts
More file actions
27 lines (26 loc) · 755 Bytes
/
vite.config.ts
File metadata and controls
27 lines (26 loc) · 755 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { defineConfig } from "vite";
// import { defineConfig } from "vite";
import { svelte } from "@sveltejs/vite-plugin-svelte";
// import { svelte } from "@sveltejs/vite-plugin-svelte";
import { nodePolyfills } from "vite-plugin-node-polyfills";
// import { nodePolyfills } from "vite-plugin-node-polyfills";
// https://vite.dev/config/
// // https://vite.dev/config/
export default defineConfig({
// export default defineConfig({
plugins: [
// plugins: [
svelte(),
// svelte(),
nodePolyfills(),
// nodePolyfills(),
],
// ],
build: {
// build: {
target: "es2020",
// target: "es2020",
},
// },
});
// });