15 Commits

Author SHA1 Message Date
vanaigr
cf0cbf6a37
fix(vite-node): top-level throw in module is not reported properly (#6840)
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
2024-11-05 12:25:29 +01:00
Vladimir
d87bef9611
fix(vite-node): expose all envs from .env file, not just with a prefix VITE_ (#6017) 2024-07-02 10:44:32 +02:00
Vladimir
cc19117d30
chore: migrate to flat eslint config (#4472) 2023-11-11 08:07:39 +01:00
Dunqing
77ea932661
fix(vite-node): mjs files watch not work (#3982) 2023-10-03 13:24:02 +02:00
Vladimir
c9aeac4cf2
feat: running vitest with --related --watch reruns non-affected tests if they were changed during a run (#3844) 2023-07-30 13:07:22 +02:00
Vladimir
711a6249f1
fix(vite-node): correctly resolve hmr filepath (#3834) 2023-07-29 20:34:09 +02:00
Vladimir
54409a2733
chore: improve helpers to test vite-node (#3842) 2023-07-29 19:46:40 +02:00
rxliuli
1cd4eb0f1b
feat(vite-node): make CLI arguments parsing behavior consistent with node/tsx/ts-node (#3574) 2023-07-28 15:17:38 +02:00
rxliuli
b097cef8f4
fix(vite-node): fix errors caused by commonjs export circular references (#3570) 2023-06-15 13:33:03 +02:00
Anthony Fu
cbb593a8a7
fix(vite-node): circular imports (#3196) 2023-04-15 10:30:51 +02:00
renovate[bot]
0f86ff9897
chore(deps): update all non-major dependencies (#2766)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-04-06 16:53:03 +02:00
CattChen
5cee4fbf12
fix: stack trace point to incorrect file (#3004) (#3115)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-04-05 17:38:01 +02:00
Hyeseong Kim
b4c43cd508
fix: allow assigning new hotContext (#2524)
* Allow assigning new hotContext

* fix lint

* add a regression case
2022-12-19 13:24:41 +03:00
Anthony Fu
49c67d2573
fix(vite-node): self circular reference (#1609) 2022-07-07 16:39:20 +08:00
yoho
4a95177356
feat(vite-node): vite hmr support (#1516)
* chore: update

* feat: vite-node hmr

* chore: lock.yaml

* chore: update

* chore: update

* chore: update

* feat: hmr module

* chore: package.json

* perf: create ctx only had `__vite_ssr_import_meta__.hot`

* chore: update

* chore: update

* chore: update

* chore: update

* perf: only install hmr plugin on watch mode

* chore: update lock

Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-07-02 12:29:52 +03:00