Merge pull request #1502 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
commit c127ef7691
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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