Skip to content

Commit a511ef3

Browse files
committed
Allow support of our custom editor
1 parent d9ce91e commit a511ef3

File tree

2 files changed

+21
-22
lines changed

2 files changed

+21
-22
lines changed

vite.config.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
const { fileURLToPath } = require("node:url");
2+
const { defineConfig } = require("vite");
3+
const vue = require("@vitejs/plugin-vue");
4+
const VueDevTools = require("vite-plugin-vue-devtools");
5+
const Terminal = require("vite-plugin-terminal");
6+
7+
// https://vitejs.dev/config/
8+
module.exports = defineConfig({
9+
plugins: [
10+
vue(),
11+
VueDevTools(),
12+
Terminal({
13+
output: ["terminal", "console"],
14+
}),
15+
],
16+
resolve: {
17+
alias: {
18+
"@": fileURLToPath(new URL("./src", import.meta.url)),
19+
},
20+
},
21+
});

vite.config.mjs

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)