mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-11 03:00:56 +08:00
Revert @graphite/ path imports in website (#1095)
Reverted @graphite path imports
This commit is contained in:
committed by
Keavon Chambers
parent
c0576ab4e0
commit
3f8adbafba
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user