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 8c92a0e commit 924f3eeCopy full SHA for 924f3ee
package.json
@@ -7,7 +7,7 @@
7
"dist"
8
],
9
"scripts": {
10
- "start": "webpack-dev-server --content-base pages",
+ "start": "webpack-dev-server",
11
"clean-build": "rimraf dist",
12
"build": "npm run clean-build && babel src --out-dir dist",
13
"build-pages": "npm run clean-build && NODE_ENV=production webpack --config ./webpack.production.config.js --progress --profile --colors",
webpack.config.js
@@ -9,6 +9,9 @@ module.exports = {
path: path.resolve(__dirname, 'pages'),
filename: 'bundle.js',
},
+ devServer: {
+ contentBase: 'pages',
14
+ },
15
module: {
16
loaders: [
17
{
0 commit comments