dzserver/webpack.config.js

21 lines
412 B
JavaScript
Raw Normal View History

2021-08-02 15:26:47 +00:00
const path = require("path");
const WasmPackPlugin = require("@wasm-tool/wasm-pack-plugin");
module.exports = {
entry: {
index: "./index.js"
},
plugins: [
new WasmPackPlugin({
crateDirectory: __dirname,
}),
2021-08-16 17:52:51 +00:00
],
module: {
rules: [
{
test: /\.html$/i,
loader: 'html-loader'
}
]
}
2021-08-02 15:26:47 +00:00
};