Skip to content

Commit 4a74e17

Browse files
authored
fix webpack config (#543)
1 parent 0cec381 commit 4a74e17

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@ const config = {
4545
],
4646
},
4747
output: {
48-
path: path.resolve(__dirname, 'build'),
48+
path: path.resolve(__dirname, './build'),
4949
filename: '[name].[chunkhash].js',
50+
publicPath: '/', // Default base path
5051
},
5152
plugins: [
5253
new HtmlWebpackPlugin({

0 commit comments

Comments
 (0)