We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14c3cfa commit 7323780Copy full SHA for 7323780
packages/demo/package.json
@@ -34,6 +34,6 @@
34
},
35
"scripts": {
36
"build": "cross-env NODE_ENV=production webpack",
37
- "dev": "webpack serve --content-base public"
+ "dev": "webpack serve"
38
}
39
packages/demo/webpack.config.js
@@ -78,6 +78,9 @@ module.exports = {
78
],
79
devtool: prod ? false : 'source-map',
80
devServer: {
81
- hot: true
+ hot: true,
82
+ static: {
83
+ directory: path.join(__dirname, 'public')
84
+ }
85
86
0 commit comments