Commit 7ee16738 authored by timel's avatar timel Committed by Chunchi Che

chore: upgrade vite to 5.4

parent ae3bfdce
Pipeline #22809 passed with stages
in 13 minutes and 31 seconds
This diff is collapsed.
......@@ -2,7 +2,7 @@ import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import svgr from "vite-plugin-svgr";
import ydkLoader from "vite-ydk-loader";
import tsconfigPaths from "vite-tsconfig-paths";
// import tsconfigPaths from "vite-tsconfig-paths";
import wasmPack from "vite-plugin-wasm-pack";
import sassDts from "vite-plugin-sass-dts";
import path from "path";
......@@ -16,7 +16,7 @@ export default defineConfig({
react(),
svgr(),
ydkLoader(),
tsconfigPaths(),
// tsconfigPaths(),
wasmPack("./rust-src"),
sassDts({
enabledMode: ["development"],
......@@ -25,5 +25,8 @@ export default defineConfig({
],
resolve: {
extensions: [".mjs", ".js", ".mts", ".ts", ".jsx", ".tsx", ".json", ".ydk"],
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment