Marvin Hagemeister
f5c0f16878
fix(vite): source mapping locations ( #3624 )
...
Mappings were wrong for a few reasons:
- Missing source map generation in one babel transform
- setting `compact: false` causes vite to generate incorrect mappings in
`vite:import-analysis`
- stack traces need to be mapped by vite
Fixes https://github.com/denoland/fresh/issues/3609
2025-11-18 11:40:52 +01:00
Marvin Hagemeister
7b6d6315d1
fix(vite): mark transformed cjs with __esModule ( #3575 )
...
Fixes https://github.com/denoland/fresh/issues/3565
2025-10-24 19:54:37 +02:00
Marvin Hagemeister
6c03a9bc26
fix(vite): support jsx namespaces ( #3539 )
...
Babel throws when encountering jsx namespaces by default. It needs a
setting to not throw.
2025-10-08 11:30:07 +02:00
Marvin Hagemeister
9b83a1e1b3
fix(vite): cover more commonjs cases ( #3465 )
...
Fixes https://github.com/denoland/fresh/issues/3463
Fixes https://github.com/denoland/fresh/issues/3449
2025-09-19 18:36:51 +02:00
Marvin Hagemeister
399cbc3aa2
fix(vite): nested islands not working ( #3440 )
...
This PR makes nested islands work. Problem was that only entry files
have the `src` property in the vite manifest. For that we need to ensure
that every island is an entry point.
Fixes https://github.com/denoland/fresh/issues/3439
2025-09-15 17:55:44 +02:00
Marvin Hagemeister
3fb3cd9443
fix(vite): route css import ( #3438 )
...
Fixes https://github.com/denoland/fresh/issues/3426
2025-09-15 13:20:07 +02:00
Marvin Hagemeister
f9ba5417c4
fix: bring back support for middleware Array ( #3434 )
...
Our validation didn't account for `_middleware` files exporting an Array
of middlewares.
Fixes https://github.com/denoland/fresh/issues/3400
2025-09-15 10:44:21 +02:00
Marvin Hagemeister
ae3db58a99
fix(vite): .env files not being loaded ( #3416 )
...
Fixes https://github.com/denoland/fresh/issues/3364
2025-09-12 18:21:51 +02:00
Marvin Hagemeister
8743322968
feat(vite): serve static index.html files ( #3358 )
...
Fixes https://github.com/denoland/fresh/issues/3356
2025-09-08 17:36:30 +02:00
Marvin Hagemeister
2e015cd2b9
fix(vite): improve commonjs handling ( #3357 )
2025-09-08 17:06:11 +02:00
Marvin Hagemeister
2c32ffe8f3
fix(vite): support ssr css modules ( #3355 )
...
Fixes https://github.com/denoland/fresh/issues/3325
2025-09-08 16:23:13 +02:00
Marvin Hagemeister
4ff8e677aa
fix(vite): nested island css module styles not working ( #3353 )
...
Related https://github.com/denoland/fresh/issues/3325
2025-09-08 10:00:14 +02:00
Marvin Hagemeister
185ab95751
fix(vite): get radix-ui working ( #3344 )
2025-09-05 16:51:22 +02:00
Marvin Hagemeister
4138b8ca66
fix(vite): improve commonjs handling ( #3336 )
...
Fixes https://github.com/denoland/fresh/issues/3323
2025-09-04 12:59:13 +02:00
Marvin Hagemeister
08ef05fc1d
fix(vite): pathname treated as static file ( #3326 )
...
Fixes https://github.com/denoland/fresh/issues/3322
2025-09-03 11:34:19 +02:00
Marvin Hagemeister
ff9db336f7
feat(vite): check valid imports per environment ( #3299 )
...
Fixes https://github.com/denoland/fresh/issues/3296
2025-09-01 17:30:30 +02:00
Marvin Hagemeister
541bc6c6ca
feat(vite): support remote islands ( #3294 )
2025-09-01 12:11:08 +02:00
Marvin Hagemeister
b41c151de3
fix(vite): serve css imported in islands ( #3272 )
...
Fixes https://github.com/denoland/fresh/issues/3271
2025-08-29 14:30:00 +02:00
Marvin Hagemeister
adc5c2e4a8
chore: speed up vite tests ( #3258 )
2025-08-26 09:52:26 +02:00
Marvin Hagemeister
d1f7d49466
fix(vite): importing node:* builtins ( #3245 )
2025-08-22 13:58:39 +02:00
Marvin Hagemeister
27c2910b1d
fix(vite): babel transform being applied for non-js files ( #3238 )
2025-08-21 20:03:00 +02:00
Marvin Hagemeister
ffa57be765
fix(vite): partial island loading ( #3226 )
2025-08-19 17:58:17 +02:00
Marvin Hagemeister
afdf5eaf6c
fix(vite): asset handling ( #3225 )
...
This PR reworks asset handling in our vite plugin. Importing assets in
js is now supported.
2025-08-19 16:45:33 +02:00
Marvin Hagemeister
f80d049dca
fix(vite): inline FRESH_PUBLIC_* env vars ( #3221 )
2025-08-16 23:14:03 +02:00
Marvin Hagemeister
d026375c3e
fix(vite): error when npm package requires json files ( #3210 )
2025-08-08 14:16:38 +02:00
Marvin Hagemeister
22ebb2dbfa
fix: support optional static, routes and island dir in vite plugin ( #3206 )
2025-08-08 09:23:38 +02:00
Marvin Hagemeister
815b1940e3
chore: restructure repository into packages/ folder ( #3197 )
...
We're having a growing number of packages in this repository. This PR
moves them into a `packages/` directory like it's commonly done in other
projects.
2025-08-06 15:52:45 +02:00