13 Commits

Author SHA1 Message Date
Matthias Stemmler
b4f6e425c4
fix(vite): get tsconfig from new path including target (#22775)
## Current Behavior
Since v18.2.3 (e4c4697f69cf29c50aced1997715a7da5f680e23) the
`tsconfig.generated.json` file generated if `"buildLibsFromSource":
false` is placed under a path containing the current build target. The
`nx-tsconfig-paths` plugin of `@nx/vite` was not updated accordingly, so
now it doesn't find `tsconfig.generated.json`, effectively causing
`@nx/vite` to ignore the `"buildLibsFromSource": false` setting.

## Expected Behavior
With this PR, `nx-tsconfig-paths` finds `tsconfig.generated.json` at the
correct path, so `"buildLibsFromSource": false` works as it did before
v18.2.3.
2024-05-08 12:30:07 +01:00
Ian Chadwick
9a9bd2abd3
fix(vite): deep file resolution in nx-tsconfig-paths.plugin.ts (#21513) 2024-02-02 18:33:50 +02:00
Jan Pretzel
82a0d613d2
fix(bundling): consider index/folder imports in manual file resolution (#19030) 2024-01-30 19:24:51 +02:00
Katerina Skroumpelou
7da53c026e
fix(vite): replaceFile and fileReplacement fixes (#21077) 2024-01-10 18:53:34 +02:00
Katerina Skroumpelou
2c88282e8a
fix(vite): adjust config generation (#20367) 2023-11-29 15:58:49 +02:00
Caleb Ukle
e3b513b6c0
fix(bundling): fallback to manual file resolution if tsconfig-paths fails (#18477) 2023-08-25 11:18:05 -05:00
Caleb Ukle
6529be96cf
feat(vite): add tsconfig paths resolution plugin (#17844) 2023-07-17 15:42:12 +00:00
Katerina Skroumpelou
ac3804983b
cleanup(vite): remove unnecessary import (#14544) 2023-01-23 16:55:31 +02:00
Katerina Skroumpelou
53cffacf6b
Revert "fix(vite): Support fileReplacements for devServer" (#14104) 2023-01-03 13:26:10 +02:00
nodegin
b3ff11f5d9
fix(vite): Support fileReplacements for devServer (#13761)
Co-authored-by: ⁢ <john@doe.gov>
2022-12-13 12:11:29 +02:00
Katerina Skroumpelou
6fcb9c4dba
chore(bundling): added tests for fileReplacement (#13292) 2022-11-22 09:36:07 +00:00
Katerina Skroumpelou
e4092aa47f
fix(bundling): file replacement for vite (#13255) 2022-11-18 15:24:33 +00:00
Katerina Skroumpelou
8d103f323c
feat(bundling): vite plugin executors (#13032) 2022-11-14 14:33:09 -05:00