@zohodesk/client_build_tool 0.0.5-exp.7 → 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 ? null : (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 ? null : 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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/client_build_tool",
3
- "version": "0.0.5-exp.7",
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": {