1
0
mirror of https://github.com/fluencelabs/wasm-bindgen synced 2025-07-17 13:11:56 +00:00

Merge pull request from xtuc/patch-1

Update webpack.config.js
This commit is contained in:
Alex Crichton
2019-05-01 10:46:05 -05:00
committed by GitHub

@@ -10,7 +10,9 @@ module.exports = {
filename: 'index.js', filename: 'index.js',
}, },
plugins: [ plugins: [
new HtmlWebpackPlugin(), new HtmlWebpackPlugin({
template: './index.html'
}),
new WasmPackPlugin({ new WasmPackPlugin({
crateDirectory: path.resolve(__dirname, ".") crateDirectory: path.resolve(__dirname, ".")
}), }),