@nx/vite 23.2.0-beta.0 → 23.2.0-beta.1

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.
@@ -117,9 +117,13 @@ async function getServerExtraArgs(options, configuration, buildOptionsFromBuildT
117
117
  }
118
118
  }
119
119
  if (configuration) {
120
+ const normalizeWatchOption = (watch) => {
121
+ return watch === false ? undefined : watch;
122
+ };
120
123
  serverOptions = {
121
124
  ...serverOptions,
122
- watch: buildOptionsFromBuildTarget?.watch ?? serverOptions?.watch,
125
+ watch: normalizeWatchOption(buildOptionsFromBuildTarget?.watch) ??
126
+ normalizeWatchOption(serverOptions?.watch),
123
127
  };
124
128
  otherOptions = {
125
129
  ...otherOptions,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/vite",
3
- "version": "23.2.0-beta.0",
3
+ "version": "23.2.0-beta.1",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
6
  "files": [
@@ -101,13 +101,13 @@
101
101
  "semver": "^7.6.3",
102
102
  "tslib": "^2.3.0",
103
103
  "ajv": "^8.0.0",
104
- "@nx/devkit": "23.2.0-beta.0",
105
- "@nx/js": "23.2.0-beta.0",
106
- "@nx/vitest": "23.2.0-beta.0"
104
+ "@nx/devkit": "23.2.0-beta.1",
105
+ "@nx/js": "23.2.0-beta.1",
106
+ "@nx/vitest": "23.2.0-beta.1"
107
107
  },
108
108
  "devDependencies": {
109
- "@nx/eslint": "23.2.0-beta.0",
110
- "nx": "23.2.0-beta.0"
109
+ "@nx/eslint": "23.2.0-beta.1",
110
+ "nx": "23.2.0-beta.1"
111
111
  },
112
112
  "peerDependencies": {
113
113
  "vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"