@nx/webpack 0.0.0-pr-30457-dee3a4c → 0.0.0-pr-30457-3a87b50

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/webpack",
3
- "version": "0.0.0-pr-30457-dee3a4c",
3
+ "version": "0.0.0-pr-30457-3a87b50",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for Webpack contains executors and generators that support building applications using Webpack.",
6
6
  "repository": {
@@ -66,8 +66,8 @@
66
66
  "webpack-dev-server": "^5.0.4",
67
67
  "webpack-node-externals": "^3.0.0",
68
68
  "webpack-subresource-integrity": "^5.1.0",
69
- "@nx/devkit": "0.0.0-pr-30457-dee3a4c",
70
- "@nx/js": "0.0.0-pr-30457-dee3a4c"
69
+ "@nx/devkit": "0.0.0-pr-30457-3a87b50",
70
+ "@nx/js": "0.0.0-pr-30457-3a87b50"
71
71
  },
72
72
  "publishConfig": {
73
73
  "access": "public"
@@ -34,7 +34,7 @@ function applyWebConfig(options, config = {}, { useNormalizedEntry, } = {}) {
34
34
  sri: options.subresourceIntegrity,
35
35
  outputPath: path.basename(options.index),
36
36
  indexPath: path.join(options.root, options.index),
37
- baseHref: options.baseHref,
37
+ baseHref: options.baseHref !== false ? options.baseHref : undefined,
38
38
  deployUrl: options.deployUrl,
39
39
  scripts: options.scripts,
40
40
  styles: options.styles,
@@ -98,7 +98,7 @@ function postcssOptionsCreator(options, { includePaths, forCssModules = false, }
98
98
  ? []
99
99
  : [
100
100
  (0, postcss_cli_resources_1.PostcssCliResources)({
101
- baseHref: options.baseHref,
101
+ baseHref: options.baseHref ? options.baseHref : undefined,
102
102
  deployUrl: options.deployUrl,
103
103
  loader,
104
104
  filename: `[name]${hashFormat.file}.[ext]`,
@@ -57,7 +57,7 @@ export interface NxAppWebpackPluginOptions {
57
57
  /**
58
58
  * Set <base href> for the resulting index.html.
59
59
  */
60
- baseHref?: string;
60
+ baseHref?: string | false;
61
61
  /**
62
62
  * Build the libraries from source. Default is `true`.
63
63
  */