From b60cffd19067fb998b9ca0c1ef498229f7071fa2 Mon Sep 17 00:00:00 2001 From: Oliver Eyton-Williams Date: Fri, 27 May 2022 19:36:05 +0200 Subject: [PATCH] fix: update path of webpack bundles (#46180) With this both the bundles and their chunks will have the correct path names --- client/webpack-workers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/webpack-workers.js b/client/webpack-workers.js index dd4a10c0264..7d6cd9d3b47 100644 --- a/client/webpack-workers.js +++ b/client/webpack-workers.js @@ -21,7 +21,7 @@ module.exports = (env = {}) => { filename: chunkData => { // construct and output the filename here, so the client can use the // json to find the file. - const filename = `${chunkData.chunk.name}.${chunkData.chunk.contentHash.javascript}`; + const filename = `${chunkData.chunk.name}-${chunkData.chunk.contentHash.javascript}`; writeFileSync( path.join(configPath, `${chunkData.chunk.name}.json`), `{"filename": "${filename}"}`