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 1a55d7f commit acf8dc5Copy full SHA for acf8dc5
webpack.config.js
@@ -1,4 +1,3 @@
1
-
2
const path = require('path')
3
const HtmlWebpackPlugin = require('html-webpack-plugin')
4
@@ -8,7 +7,7 @@ module.exports = {
8
7
output: {
9
filename: 'index.js',
10
publicPath: '/',
11
- path: path.resolve(__dirname, 'dist'),
+ path: path.resolve(__dirname, 'public'),
12
},
13
devtool: 'source-map',
14
plugins: [
@@ -17,7 +16,7 @@ module.exports = {
17
16
}),
18
],
19
devServer: {
20
- contentBase: path.join(__dirname, 'dist'),
+ contentBase: path.join(__dirname, 'public'),
21
compress: true,
22
historyApiFallback: true,
23
port: 3000,
0 commit comments