We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
index.html
dist
1 parent 7dcd3fe commit 2061540Copy full SHA for 2061540
package.json
@@ -30,6 +30,7 @@
30
"hello-wasm-pack": "^0.1.0",
31
"webpack": "^4.16.3",
32
"webpack-cli": "^3.1.0",
33
- "webpack-dev-server": "^3.1.5"
+ "webpack-dev-server": "^3.1.5",
34
+ "copy-webpack-plugin": "^4.5.2"
35
}
36
webpack.config.js
@@ -1,3 +1,4 @@
1
+const CopyWebpackPlugin = require("copy-webpack-plugin");
2
const path = require('path');
3
4
module.exports = {
@@ -7,4 +8,7 @@ module.exports = {
7
8
filename: "bootstrap.js",
9
},
10
mode: "development",
11
+ plugins: [
12
+ new CopyWebpackPlugin(['index.html'])
13
+ ],
14
};
0 commit comments