Skip to content

Commit 6663744

Browse files
author
Artem Sapegin
committed
Fix: Add output.publicPath option to webpack config to make Create React App happy
Fix styleguidist#1247
1 parent 1c4d40b commit 6663744

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/scripts/make-webpack-config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ module.exports = function(config, env) {
3838
path: config.styleguideDir,
3939
filename: 'build/[name].bundle.js',
4040
chunkFilename: 'build/[name].js',
41+
publicPath: '',
4142
},
4243
resolve: {
4344
extensions: ['.js', '.jsx', '.json'],

0 commit comments

Comments
 (0)