Skip to content

Commit aaf022c

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

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
@@ -413,6 +413,7 @@ module.exports = {
413413
// having to parse `index.html`.
414414
new ManifestPlugin({
415415
fileName: 'asset-manifest.json',
416+
publicPath: publicPath
416417
}),
417418
// Generate a service worker script that will precache, and keep up to date,
418419
// the HTML & assets that are part of the Webpack build.

0 commit comments

Comments
 (0)