From d6dca505d1ce6b3cfee2a0137c1e8973eacdf068 Mon Sep 17 00:00:00 2001 From: Robin van der Vleuten Date: Fri, 16 Jun 2017 11:40:45 +0200 Subject: [PATCH] Set the public path to the asset manifest entries --- 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 5943c14502c..dc95d9ebfc7 100644 --- a/packages/react-scripts/config/webpack.config.prod.js +++ b/packages/react-scripts/config/webpack.config.prod.js @@ -302,6 +302,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.