Skip to content

Commit bab2c29

Browse files
robinvdvleutengaearon
authored andcommitted
Set the public path to the asset manifest entries (#2544)
1 parent 034c6ad commit bab2c29

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react-scripts/config/webpack.config.prod.js

+1
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ module.exports = {
319319
// having to parse `index.html`.
320320
new ManifestPlugin({
321321
fileName: 'asset-manifest.json',
322+
publicPath: publicPath
322323
}),
323324
// Generate a service worker script that will precache, and keep up to date,
324325
// the HTML & assets that are part of the Webpack build.

0 commit comments

Comments
 (0)