We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e02c677 commit 64fb52aCopy full SHA for 64fb52a
package.json
@@ -37,8 +37,8 @@
37
],
38
"license": "MIT",
39
"scripts": {
40
- "dev": "vite",
41
- "dev:build": "vue-tsc --noEmit && vite build",
+ "dev": "vite -c vite-dev.config.ts",
+ "dev:build": "vue-tsc --noEmit && vite build -c vite-dev.config.ts",
42
"build": "vue-tsc --noEmit && vite build && rollup -c",
43
"build:rollup": "rollup -c",
44
"build:types": "vue-tsc --noEmit",
vite-dev.config.ts
@@ -0,0 +1,13 @@
1
+import { defineConfig } from "vite"
2
+import vue from "@vitejs/plugin-vue"
3
+import path from "path"
4
+
5
+// https://vitejs.dev/config/
6
+export default defineConfig({
7
+ plugins: [vue()],
8
+ resolve: {
9
+ alias: {
10
+ "@": path.resolve(__dirname, "./src"),
11
+ },
12
13
+})
0 commit comments