From 97d527d5d1faca7a93e68432f4a524c315b1d688 Mon Sep 17 00:00:00 2001 From: Robin van der Vleuten Date: Sat, 20 Jan 2018 20:31:27 +0100 Subject: [PATCH] Set the public path to the asset manifest entries (#2544) --- packages/react-scripts/config/webpack.config.prod.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react-scripts/config/webpack.config.prod.js b/packages/react-scripts/config/webpack.config.prod.js index 199d22acfac..bf386c303f5 100644 --- a/packages/react-scripts/config/webpack.config.prod.js +++ b/packages/react-scripts/config/webpack.config.prod.js @@ -327,6 +327,7 @@ module.exports = { // having to parse `index.html`. new ManifestPlugin({ fileName: 'asset-manifest.json', + publicPath: publicPath }), // Generate a service worker script that will precache, and keep up to date, // the HTML & assets that are part of the Webpack build.