node updates

This commit is contained in:
Robin Appelman 2026-09-09 23:25:13 +02:00
commit 20b31f14f7
4 changed files with 3191 additions and 13711 deletions

View file

@ -1,8 +1,8 @@
const path = require("path");
const CopyPlugin = require("copy-webpack-plugin");
const WasmPackPlugin = require("@wasm-tool/wasm-pack-plugin");
const dist = path.resolve(__dirname, "dist");
const crate = path.resolve(__dirname, "wasm");
module.exports = {
target: 'webworker',
@ -32,7 +32,7 @@ module.exports = {
},
plugins: [
new WasmPackPlugin({
crateDirectory: __dirname,
crateDirectory: crate,
}),
]
};