Commit eec7fae2 authored by chechunchi's avatar chechunchi

fix wasm pack

parent 12ce8027
Pipeline #21185 passed with stages
in 8 minutes and 2 seconds
......@@ -3,6 +3,7 @@ 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 wasmPack from "vite-plugin-wasm-pack";
// https://vitejs.dev/config/
export default defineConfig({
......@@ -14,6 +15,7 @@ export default defineConfig({
svgr(),
ydkLoader(),
tsconfigPaths(),
wasmPack("./rust-src")
],
resolve: {
extensions: [".js", ".json", ".ydk"],
......
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