From 98de4d7098c1888993e87c804257f91cf176a69e Mon Sep 17 00:00:00 2001 From: Sven Sauleau Date: Wed, 1 May 2019 17:43:50 +0200 Subject: [PATCH] Update webpack.config.js --- examples/closures/webpack.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/closures/webpack.config.js b/examples/closures/webpack.config.js index a6f6e1e93..1bbbad07e 100644 --- a/examples/closures/webpack.config.js +++ b/examples/closures/webpack.config.js @@ -10,7 +10,9 @@ module.exports = { filename: 'index.js', }, plugins: [ - new HtmlWebpackPlugin(), + new HtmlWebpackPlugin({ + template: './index.html' + }), new WasmPackPlugin({ crateDirectory: path.resolve(__dirname, ".") }),