mirror of
https://codeberg.org/demostf/edit.git
synced 2026-10-01 07:34:05 +02:00
node updates
This commit is contained in:
parent
d26964ee7c
commit
20b31f14f7
4 changed files with 3191 additions and 13711 deletions
|
|
@ -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,
|
||||
}),
|
||||
]
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue