Commit Graph

380 Commits

Author SHA1 Message Date
Anthony Fu 0326a31990
fix(nitro): fix regex for tracedFiles scanning (#1509) 2021-10-27 12:53:25 +02:00
ziga 245aa6b68f
fix(nitro): type inference for api routes returning promise (#1483) 2021-10-27 10:19:53 +02:00
Daniel Roe 41ff3b8efe
fix(nitro): support built `publicPath` (#1479) 2021-10-26 19:37:52 +02:00
Pooya Parsa d2cc9e4bd0 fix(nitro): revert to main rollup import (closes #1445) 2021-10-25 18:32:20 +02:00
Daniel Roe c6f769e94d
fix(nitro): inject payload for spa renderer (#1434) 2021-10-25 12:36:38 +02:00
Pooya Parsa ad7e7551ec fix(nitro): import rollup as cjs 2021-10-25 11:23:15 +02:00
Daniel Roe 7d918e1457
refactor(nuxi): move `nuxt.d.ts` within `buildDir` (#1369) 2021-10-23 00:33:22 +02:00
Francisco Buceta 54549cfc61
fix(nitro): omit `/index` from generated api urls (#1371) 2021-10-22 19:04:02 +02:00
Pooya Parsa 1e69bc56bb fix(nitro): handle terminating uninitialized worker 2021-10-22 15:36:29 +02:00
Daniel Roe 018302cb0b
fix(nitro): update firebase preset to handle mjs output (#1360) 2021-10-22 13:57:21 +02:00
Daniel Roe f0b9474b40
feat(nuxi): bundle analyzer (#701)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-21 21:51:44 +02:00
pooya parsa 9d40a271ee
feat(nitro): improve dev worker stability (#1303) 2021-10-21 13:54:55 +02:00
pooya parsa d1214c9aae
fix(nitro): terminate active worker before replacing (#1302) 2021-10-20 21:28:01 +02:00
Anthony Fu 92547d8547
fix(nitro): filter alias in `/_vfs` listing (#1296) 2021-10-20 19:30:42 +02:00
Ahad Birang ffb05fc734
fix(nitro): do not modify `event.request` for worker entries (#1279) 2021-10-20 12:54:02 +02:00
Ahad Birang 3c962013b5
fix(nitro): bundle json files (#1245) 2021-10-20 12:13:21 +02:00
Daniel Roe d166b78e06
feat(vite): use `externality` to resolve externals for ssr dev bundler (#1172) 2021-10-20 11:50:29 +02:00
Daniel Roe 80883cfb8f
fix(nitro): improve externals error handling (#1188) 2021-10-18 18:08:37 +02:00
Daniel Roe f974425cc4
fix(nitro): modify contents rather than compiled , remove template `compiled` (#1154) 2021-10-18 11:06:23 +02:00
renovate[bot] 4f050e50bf
chore(deps): update all non-major dependencies (#989) 2021-10-18 10:50:46 +02:00
Daniel Roe 61518a972f
fix(nitro): disable automatic spa fallback (#1071) 2021-10-18 10:08:22 +02:00
Daniel Roe 9592967eee
f(nitro): enable externals for `azure` and `firebase` presets (#1050) 2021-10-18 10:04:38 +02:00
retsuki b3ff8eeaed
fix(nitro): read firebase package.json (#1108) 2021-10-18 09:53:50 +02:00
Daniel Roe a1bcc534bf
fix(nitro): update azure swa implementation (#1069) 2021-10-15 12:28:34 +02:00
Daniel Roe 6acfdcd0f7
refactor(nitro): move wasm support behind a flag (`nitro.experiments.wasm`) (#1045) 2021-10-14 20:57:23 +02:00
Daniel Roe 1fbfdefe70
refactor: use `p-debounce` everywhere (#977) 2021-10-13 21:04:12 +02:00
Pooya Parsa 961d142039 fix(nitro): `table` esm compatibility (resolves #877) 2021-10-13 11:09:24 +02:00
Anthony Fu 10170daa84
fix(nitro): `dot-prop` esm compatibility (#829) 2021-10-12 20:51:24 +02:00
Xin Du (Clark) 3759926de5
fix(nitro): firebase package.json is not exported (#809) 2021-10-12 19:39:55 +02:00
pooya parsa 54c57e3987
feat(nuxt3): `useFetch` (#721) 2021-10-12 00:36:50 +02:00
Daniel Roe b005b2403f
feat(nitro): automatically type middleware/api routes (#708) 2021-10-11 15:29:02 +02:00
Daniel Roe a4f06716be
fix(nitro): always inline `.wasm` (#698) 2021-10-07 18:32:48 +02:00
Daniel Roe 5275624f2e
feat(nitro): support importing/inlining wasm binaries (#693) 2021-10-07 15:43:34 +02:00
pooya parsa 45b4946026
feat(nuxt3, bridge): useRuntimeConfig (#625)
Co-Authored-By: Daniel Roe <daniel@roe.dev>
2021-10-02 22:30:20 +02:00
Xin Du (Clark) eb794f3f85
chore(eslint): forbid modules importing from core (#556)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-02 20:40:10 +02:00
pooya parsa 6e496373f3
feat: use native esm for all packages (#539) 2021-10-02 18:01:17 +02:00
Daniel Roe f79f6fe40f
chore(nitro): upgrade `unenv` and remove old workaround (#595) 2021-09-29 19:50:54 +02:00
Daniel Roe f06ee66f1c
fix(nitro): show all ERR_MODULE_NOT_FOUND errors (#561)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-09-29 16:25:13 +02:00
Daniel Roe 0c14b0a48b
fix: workaround for `vue` 3.2.18+ esm bundle issue and revert #566 (#578) (#578) 2021-09-29 13:47:36 +02:00
Daniel Roe b8b32ac32d
chore: use `miniflare` for testing repo and recommend to users (#585) 2021-09-28 13:30:54 +02:00
pooya parsa 6329a681e4
refactor: migrate from upath to pathe (#553) 2021-09-27 14:49:36 +02:00
Xin Du (Clark) a137d2e5ec
feat(nitro): support esbuild options config (#550) 2021-09-22 16:39:54 +02:00
Ahad Birang 5394aef2f7
fix(storage): replace non-word characters with underscore (#542) 2021-09-21 17:05:36 +02:00
Ahad Birang 2b63578a84
feat(nitro): handle request body in workers (#537) 2021-09-20 20:12:43 +02:00
Ahad Birang 3e0e24f80d
fix(nitro): disable externals in worker preset (#535) 2021-09-20 11:20:55 +02:00
Ahad Birang 64a426527f
fix(nitro): pass query params to localCall in service worker (#530) 2021-09-14 21:08:17 +02:00
Ahad Birang 13abec6143
fix(nitro): read body stream on post requests for `service-worker` (#527) 2021-09-13 12:37:38 +02:00
Pooya Parsa 4cd6d80448 fix(nitro): use `generate:page` hook for browser to inject sw
resolves #522
2021-09-10 13:22:20 +02:00
Ahad Birang c0c5b9b9bd
fix(nitro): handle static assets and api routes for `service-worker` preset (#518) 2021-09-09 18:01:43 +02:00
Ahad Birang b47c592e39
fix(nitro): do not overwrite output files for browser-preset (#516) 2021-09-09 11:55:40 +02:00