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 c518c19 commit 5531f70Copy full SHA for 5531f70
webpack/webpack.dev.js
@@ -1,5 +1,6 @@
1
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
2
const merge = require('webpack-merge');
3
+const path = require('path');
4
5
const common = require('./webpack.common');
6
@@ -15,10 +16,11 @@ module.exports = merge(common, {
15
16
]
17
},
18
devServer: {
- contentBase: './build',
19
- publicPath: '/public/',
+ contentBase: path.resolve('build'),
20
+ publicPath: '/public',
21
open: true,
- port: 8080
22
+ port: 8080,
23
+ stats: 'minimal'
24
25
plugins: [
26
new MiniCssExtractPlugin({
0 commit comments