wasm
This commit is contained in:
@@ -5,5 +5,6 @@
|
||||
"outside",
|
||||
"getPathToPose",
|
||||
"getPathTo",
|
||||
"svg"
|
||||
"svg",
|
||||
"rust"
|
||||
]
|
||||
|
||||
6
packages/demo/demo.rust.ts
Normal file
6
packages/demo/demo.rust.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import "./menu";
|
||||
|
||||
(async () => {
|
||||
const api = await import("@snk/solver-r");
|
||||
console.log(api);
|
||||
})();
|
||||
@@ -42,6 +42,9 @@ const webpackConfiguration: WebpackConfiguration = {
|
||||
path: path.join(__dirname, "dist"),
|
||||
filename: "[contenthash].js",
|
||||
},
|
||||
experiments: {
|
||||
asyncWebAssembly: true,
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user