Skip to content

Commit

Permalink
Merge pull request #1502 from xtuc/patch-1
Browse files Browse the repository at this point in the history
Update webpack.config.js
  • Loading branch information
alexcrichton authored May 1, 2019
2 parents 187a289 + 98de4d7 commit c127ef7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/closures/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ module.exports = {
filename: 'index.js',
},
plugins: [
new HtmlWebpackPlugin(),
new HtmlWebpackPlugin({
template: './index.html'
}),
new WasmPackPlugin({
crateDirectory: path.resolve(__dirname, ".")
}),
Expand Down

0 comments on commit c127ef7

Please sign in to comment.