13 lines
No EOL
264 B
JavaScript
13 lines
No EOL
264 B
JavaScript
const path = require("path");
|
|
const WasmPackPlugin = require("@wasm-tool/wasm-pack-plugin");
|
|
|
|
module.exports = {
|
|
entry: {
|
|
index: "./index.js"
|
|
},
|
|
plugins: [
|
|
new WasmPackPlugin({
|
|
crateDirectory: __dirname,
|
|
}),
|
|
]
|
|
}; |