Commit 06eb365
committed
feat(web): configure @nx/vite:dev-server with proper pnpm workspace support
- Add proper build target using @nx/vite:build executor with root configuration
- Update serve target to use @nx/vite:dev-server with correct buildTarget
- Configure Vite file system access for pnpm workspaces (server.fs.allow)
- Fix optimizeDeps to exclude problematic Nx runtime dependencies
- Add React 19 compatibility with jsx-runtime dependencies
- Enable React deduplication to prevent version conflicts
- Remove barrelsby dependency from lockfile
This enables native Nx Vite development server with improved
integration and better performance over the previous workaround.
Both `nx serve web` and `pnpm dev` now use @nx/vite:dev-server successfully.1 parent 6ea7cad commit 06eb365
3 files changed
+49
-32
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
14 | 30 | | |
15 | | - | |
| 31 | + | |
| 32 | + | |
16 | 33 | | |
17 | | - | |
18 | | - | |
| 34 | + | |
| 35 | + | |
19 | 36 | | |
20 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
21 | 41 | | |
22 | | - | |
| 42 | + | |
| 43 | + | |
23 | 44 | | |
24 | 45 | | |
25 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
| |||
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
178 | | - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
179 | 187 | | |
180 | 188 | | |
181 | 189 | | |
| |||
196 | 204 | | |
197 | 205 | | |
198 | 206 | | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
199 | 210 | | |
200 | 211 | | |
201 | 212 | | |
| |||
204 | 215 | | |
205 | 216 | | |
206 | 217 | | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
207 | 228 | | |
208 | | - | |
| 229 | + | |
209 | 230 | | |
210 | 231 | | |
211 | 232 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments