@zohodesk/client_build_tool 0.0.5-exp.6 → 0.0.5-exp.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.
@@ -21,13 +21,13 @@ function optionsProcessor(options) {
21
21
  isCdnEnabled
22
22
  } = options.cdnMapping;
23
23
  const serverExtras = (0, _decidePublicPath.modifiedServerOptions)(options);
24
- const publicPath = noPublicPath ? '' : (0, _decidePublicPath.decidePublicPath)(serverExtras);
24
+ const publicPath = noPublicPath ? undefined : (0, _decidePublicPath.decidePublicPath)(serverExtras);
25
25
  const contextFolderPath = (0, _constants.joinWithAppPath)(context);
26
26
  const defaultAppliedOptions = { ...options,
27
27
  serverExtras,
28
28
  // eslint-disable-next-line no-nested-ternary
29
29
  mode: mode === null ? 'prod' : mode === 'dev' ? 'dev' : 'prod',
30
- publicPath: (0, _modeUtils.isDevelopmentMode)(mode) || isCdnEnabled ? '' : publicPath,
30
+ publicPath: (0, _modeUtils.isDevelopmentMode)(mode) || isCdnEnabled ? undefined : publicPath,
31
31
  contextFolderPath,
32
32
  httpsOptions: serverExtras.httpsOptions
33
33
  };
@@ -16,7 +16,7 @@ function optionsProcessor(options) {
16
16
  noPublicPath
17
17
  } = options;
18
18
  const serverExtras = (0, _decidePublicPath.modifiedServerOptions)(options);
19
- const publicPath = noPublicPath ? null : (0, _decidePublicPath.decidePublicPath)(serverExtras);
19
+ const publicPath = noPublicPath ? undefined : (0, _decidePublicPath.decidePublicPath)(serverExtras);
20
20
  const contextFolderPath = (0, _constants.joinWithAppPath)(context);
21
21
  const defaultAppliedOptions = { ...options,
22
22
  // eslint-disable-next-line no-nested-ternary
@@ -136,6 +136,7 @@ class I18nFilesEmitPlugin {
136
136
  const fileName = fileNameTemplate.replaceAll('[locale]', locale);
137
137
  const filename = (0, _pathCreator.pathCreator)(fileName, compilation, {
138
138
  hash: compilation.hash,
139
+ locale,
139
140
  chunkName: chunk.name,
140
141
  chunkId: chunk.id,
141
142
  chunkHash: chunk.hash,
@@ -21,8 +21,13 @@ function configBundleIntegrityReport(options) {
21
21
  fileName: options.stats.fileName || 'bundle-report-integrity.json',
22
22
  excludeKeysInReport: options.stats.excludeKeys || [],
23
23
  options: {
24
- all: true,
25
- ...options.stats.options
24
+ preset: 'verbose',
25
+ ...options.stats.options,
26
+ assets: true,
27
+ chunks: true,
28
+ modules: true,
29
+ builtAt: true,
30
+ hash: true
26
31
  }
27
32
  });
28
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/client_build_tool",
3
- "version": "0.0.5-exp.6",
3
+ "version": "0.0.5-exp.8",
4
4
  "description": "A CLI tool to build web applications and client libraries",
5
5
  "main": "lib/index.js",
6
6
  "bin": {