Add wasm-bindgen to Vue config (#38)

This commit is contained in:
TrueDoctor
2021-03-27 02:26:55 -07:00
committed by Keavon Chambers
parent 21dca857cd
commit 8741e31c92
3 changed files with 32 additions and 2 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ module.exports = {
plugins: [
new HtmlWebpackPlugin({ title: "Graphite" }),
new WasmPackPlugin({
crateDirectory: path.resolve(__dirname, "..", "packages", "wasm-bindings"),
crateDirectory: path.resolve(__dirname, "wasm"),
outDir: path.resolve(__dirname, "pkg"),
}),
],