Revert @graphite/ path imports in website (#1095)

Reverted @graphite path imports
This commit is contained in:
Rob Nadal
2023-03-27 13:39:48 -07:00
committed by GitHub
parent 93821f3e3b
commit e24b5251f7
13 changed files with 35 additions and 35 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ module.exports = defineConfig({
// https://cli.vuejs.org/guide/webpack.html
chainWebpack: (config) => {
// WASM Pack Plugin integrates compiled Rust code (.wasm) and generated wasm-bindgen code (.js) with the webpack bundle
// Use this JS to import the bundled Rust entry points: const wasm = import("@graphite/../wasm/pkg").then(panicProxy);
// Use this JS to import the bundled Rust entry points: const wasm = import("@/../wasm/pkg").then(panicProxy);
// Then call WASM functions with: (await wasm).function_name()
// https://github.com/wasm-tool/wasm-pack-plugin
config