@nx/webpack 0.0.0-pr-3-4212ebd → 0.0.0-pr-30457-3ca7e98

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-3-4212ebd",
3
+ "version": "0.0.0-pr-30457-3ca7e98",
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-3-4212ebd",
70
- "@nx/js": "0.0.0-pr-3-4212ebd"
69
+ "@nx/devkit": "0.0.0-pr-30457-3ca7e98",
70
+ "@nx/js": "0.0.0-pr-30457-3ca7e98"
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
  */
@@ -120,7 +120,6 @@ async function createWebpackTargets(configFilePath, projectRoot, options, contex
120
120
  },
121
121
  };
122
122
  targets[options.serveTargetName] = {
123
- continuous: true,
124
123
  command: `webpack-cli serve`,
125
124
  options: {
126
125
  cwd: projectRoot,
@@ -140,7 +139,6 @@ async function createWebpackTargets(configFilePath, projectRoot, options, contex
140
139
  },
141
140
  };
142
141
  targets[options.previewTargetName] = {
143
- continuous: true,
144
142
  command: `webpack-cli serve`,
145
143
  options: {
146
144
  cwd: projectRoot,
@@ -160,7 +158,6 @@ async function createWebpackTargets(configFilePath, projectRoot, options, contex
160
158
  },
161
159
  };
162
160
  targets[options.serveStaticTargetName] = {
163
- continuous: true,
164
161
  dependsOn: [options.buildTargetName],
165
162
  executor: '@nx/web:file-server',
166
163
  options: {