Merge branch 'fix-issue-1472' into 'develop'

Update Webpack configuration to fix builds on Windows.

Closes #1472

See merge request soapbox-pub/soapbox!2605
This commit is contained in:
Alex Gleason 2023-07-16 15:23:25 +00:00
commit 77cf9e9d1e

View file

@ -58,7 +58,7 @@ const configuration: Configuration = {
chunkFilename: 'packs/js/[name].chunk.js',
hotUpdateChunkFilename: 'packs/js/[id].hot-update.js',
path: output.path,
publicPath: join(FE_SUBDIRECTORY, '/'),
publicPath: process.env.FE_SUBDIRECTORY || '/',
},
optimization: {