gdu 4.0.7 → 4.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # gdu
2
2
 
3
+ ## 4.0.8
4
+
5
+ ### Patch Changes
6
+
7
+ - GDU: Fixes public path for prod builds
8
+
3
9
  ## 4.0.7
4
10
 
5
11
  ### Patch Changes
@@ -304,7 +304,7 @@ const makeWebpackConfig = (buildEnv, isMultiEnv) => ({
304
304
  path: `${outputPath}/${!isMultiEnv && buildEnv === 'prod' ? '' : buildEnv}`,
305
305
  publicPath: isDev
306
306
  ? '/'
307
- : (buildEnv === 'prod' ? '#{PUBLIC_PATH_BASE}' : `https://static-mfe-${buildEnv}.autoguru.io`),
307
+ : (buildEnv === 'prod' ? '#{PUBLIC_PATH_BASE}' : `https://static-mfe-${buildEnv}.autoguru.io/${buildEnv}/`),
308
308
  filename: `${fileMask}.js`,
309
309
  chunkFilename: `chunks/${fileMask}.js`,
310
310
  hashFunction: 'sha256',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gdu",
3
- "version": "4.0.7",
3
+ "version": "4.0.8",
4
4
  "private": false,
5
5
  "description": "AutoGuru's development toolkit",
6
6
  "homepage": "https://github.com/autoguru-au/octane/tree/master/packages/gdu#readme",