Skip to content

Commit c127ef7

Browse files
authored
Merge pull request #1502 from xtuc/patch-1
Update webpack.config.js
2 parents 187a289 + 98de4d7 commit c127ef7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/closures/webpack.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ module.exports = {
1010
filename: 'index.js',
1111
},
1212
plugins: [
13-
new HtmlWebpackPlugin(),
13+
new HtmlWebpackPlugin({
14+
template: './index.html'
15+
}),
1416
new WasmPackPlugin({
1517
crateDirectory: path.resolve(__dirname, ".")
1618
}),

0 commit comments

Comments
 (0)