Commit Graph

184 Commits

Author SHA1 Message Date
blazmrak e0fec80baf
fix(vite): build fails with ssr turned off (#2652) 2022-01-13 13:39:23 +01:00
Anthony Fu e9128f39a2
perf(ssr): disable vite's pre-trasnfroming to improve perf (#2574) 2022-01-05 19:31:24 +01:00
Anthony Fu 1155d1b4d4
fix(vite): only remove version query (#2587) 2022-01-05 19:28:04 +01:00
Anthony Fu cac70e4696
fix(vite): remove vite's query for external modules (#2521) 2021-12-23 14:43:41 +01:00
renovate[bot] 85f0547ca4
chore(deps): update all non-major dependencies (#2379)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-12-20 12:33:18 +01:00
Anthony Fu 737f1bf80c
fix(vite): respect users config (#2395)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2021-12-17 10:28:06 +01:00
Daniel Roe df33474730
fix(vite): log error object (#2420) 2021-12-17 10:08:09 +01:00
Anthony Fu 29a2eb3dc1
fix(vite): include dynamic css (revert #2067) (#2227) 2021-11-30 15:37:01 +01:00
Daniel Roe c5eed5e12b
fix(vite): don't copy `publicDir` files to `_nuxt` (#2135) 2021-11-24 16:42:38 +01:00
Anthony Fu a149225e63
fix(vite): separate dynamic deps in dev-bundler (#2067) 2021-11-22 18:39:56 +01:00
pooya parsa d68318f9d5
refactor: split schema to `@nuxt/schema` and simplify kit (#2059) 2021-11-21 17:14:46 +01:00
Xin Du (Clark) c90bc50817
chore(lint): improve no-unused-vars rule (#1977) 2021-11-17 12:21:38 +01:00
Anthony Fu 86a47a2fea
fix(vite): external modules under`/esm/` pattern (#1949)
Co-authored-by: Ben <bencodezen@users.noreply.github.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-11-16 14:28:29 +01:00
Anthony Fu f298386795
feat(bridge, nuxt3): mock vue-demi (#1849)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-15 11:25:50 +01:00
pooya parsa 6eb4040b23
fix(vite): remove `global` replacement (#1835) 2021-11-10 21:15:26 +01:00
Anthony Fu ca557e7c0b
refactor(vite): reuse common modules (#1723) 2021-11-08 11:34:39 +01:00
Daniel Roe 90487fde0c
fix(vite): use `forEach` on NodeList not Element (#1734) 2021-11-05 14:54:13 +01:00
Anthony Fu 4da062a120
refactor(vite): move analyzePlugin to a seperate file (#1710) 2021-11-05 09:58:03 +01:00
Anthony Fu 85d173d653
fix(vite): swap `<link>` style on dev ssr (#1712) 2021-11-05 09:55:53 +01:00
Daniel Roe 6f1f12af16
fix(vite): expose underlying import errors (#1696) 2021-11-04 19:18:36 +01:00
Daniel Roe 2166661b17
fix(vite): remove relative vite workaround (#1646) 2021-11-04 12:25:46 +01:00
Anthony Fu 85f39858e5
fix(vite, bridge): avoid vite resolving `tsconfig.json` (#1677) 2021-11-04 09:13:29 +01:00
Daniel Roe d30f4d86d2
fix: sanitize rollup-generated filenames (#1648)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-03 14:04:42 +01:00
Daniel Roe a62351af4d
fix(vite): normalize full windows paths (#1650) 2021-11-02 19:10:56 +01:00
Daniel Roe eb67eb919e
fix(vite): remove conflicting vite aliases (#1624) 2021-11-02 13:01:44 +01:00
Daniel Roe bdbfa36987
fix(vite): improve external checks for dev-bundler (#1538) 2021-10-29 10:43:07 +02:00
Daniel Roe f5aea9f742
fix(vite): don't replace `process.env` (#1543) 2021-10-28 16:48:42 +02:00
Daniel Roe f78ec933fe
fix(vite): remove aliases from inline list (#1520) 2021-10-27 16:41:52 +02:00
Anthony Fu 0f329ea871
fix(bridge): fix fouc on vite (#1515) 2021-10-27 13:35:06 +02:00
Anthony Fu cf99fd2862
fix(vite): add missing `import.meta` functions (#1513) 2021-10-27 13:32:26 +02:00
Anthony Fu 00e25fa8e8
fix(vite): dev-bundler externality (#1507) 2021-10-27 12:55:08 +02:00
Daniel Roe 096f0679f7
fix(vite): set `#build/plugins` alias to empty string (#1489) 2021-10-27 08:03:10 +00:00
Anthony Fu 46f858dd82
chore: move `nuxt-vite` to bridge (#1180)
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-10-26 14:59:05 +02:00
Daniel Roe c672d8990a
feat(vite): pass vue options to vite plugin (#1452) 2021-10-26 14:49:18 +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 bbeb6b50f5
fix(vite): inline incompatible extensions (#1332) 2021-10-21 21:02:10 +02:00
Anthony Fu f7153a3172
fix(vite): default export for external packages (#1297) 2021-10-20 20:09:49 +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
Anthony Fu 39ed77e229
fix(vite): dev ssr fouc with preprocessors (#1101) 2021-10-18 09:54:20 +02:00
Daniel Roe b2c74d739f
fix(vite): set root to `srcDir` (#1018) 2021-10-14 13:17:39 +02:00
pooya parsa ad4e2e98d9
fix(vite): ensure id is javascript before externalizing (#983) 2021-10-13 22:44:52 +02:00
Anthony Fu 5b75e11e85
feat(vite): postcss support (#818)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-13 22:08:26 +02:00
Xin Du (Clark) c1ee1c4377
feat(vite): support jsx syntax (#922) 2021-10-13 12:34:51 +02:00
pooya parsa 47ea41dadb
fix(vite): use pathToFileURL for externals (#819) 2021-10-12 20:01:27 +02:00
Pooya Parsa 3c132a8de0 fix(vite): normalize paths before comparing (#763)
Co-Authored-By: Anthony Fu <hi@antfu.me>
2021-10-12 16:42:52 +02:00
Anthony Fu 44f8904957
fix(vite): dev ssr fouc (#757) 2021-10-12 16:05:20 +02:00
pooya parsa 101ef20c34
fix(vite): resolve vue aliases (#734) 2021-10-12 10:39:06 +02:00
pooya parsa e531b65a32
fix(vite): improve external handling (#729) 2021-10-12 03:38:30 +02:00
Anthony Fu 2f5938c7b5
chore(vite): add missing types and move out utils (#710) 2021-10-11 14:29:35 +02:00
Anthony Fu c76d554ebb
fix(vite): fix `entry point not determine` warning (#682) 2021-10-07 10:29:10 +02:00
Anthony Fu bb8c4ff019
feat(vite): vite dev server bundler (#604)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-05 16:18:03 +02:00
pooya parsa 6e496373f3
feat: use native esm for all packages (#539) 2021-10-02 18:01:17 +02:00
Anthony Fu e13baf9867
feat(nuxt3): remove `<script setup>` transform and prefer top level await (#579)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-09-30 20:19:55 +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
pooya parsa 6329a681e4
refactor: migrate from upath to pathe (#553) 2021-09-27 14:49:36 +02:00
Anthony Fu c8f8691496
fix: workaround for `vue/server-renderer` import, close #563 (#566) 2021-09-24 11:49:04 +02:00
Daniel Roe e363ed5853
fix(vite): create valid legacy dev manifest (#509) 2021-09-08 16:32:36 +02:00
Daniel Roe f2d78674a0
feat: add support for vite build (with vite-format manifest) (#450) 2021-09-07 11:35:55 +02:00
pooya parsa ee0163c273
refactor: merge modules to `nuxt3` (#439) 2021-08-11 22:28:38 +02:00
Daniel Roe 25e96bb896
fix: windows path issues (#408) 2021-08-09 20:24:52 +02:00
Pooya Parsa cb7f079ac4 chore: fix lint issues
[skip-release]

using `import type` seems a regression of `import/named` rule but generally makes it more readable to prefer using it :)
2021-08-09 18:18:21 +02:00
Daniel Roe f980ef235f
fix(app): separate plugin entrypoints (#366) 2021-07-23 16:58:38 +02:00
Daniel Roe 928d10ab77
fix(vite): add transpile options to noExternal list (#364) 2021-07-23 16:43:06 +02:00
pooya parsa be255772b2
feat: support `ssr: false` (#351)
Co-Authored-By: Daniel Roe <daniel@roe.dev>
2021-07-21 22:05:22 +02:00
Daniel Roe 98cf97d269
fix: remove vue alias (#335) 2021-07-16 11:12:11 +02:00
Daniel Roe 5d7ded368b
fix(vite): exclude optimising `vue-router` (#332) 2021-07-15 16:42:11 +02:00
Pooya Parsa e1d44262a5 fix(vite): add missing #build alias 2021-07-15 12:50:09 +02:00
pooya parsa bec2720930
feat: use virtual filesystem for templates (#292)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2021-07-15 12:18:34 +02:00
pooya parsa 6318438415
feat(nitro, vite): use native module (#252)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2021-07-15 11:38:06 +02:00
Anthony Fu d995e83a31
fix(vite): set vite's root to current directory (#239) 2021-07-14 16:40:40 +02:00
Anthony Fu 9e8b042bad
fix: vite build (#311) 2021-07-14 16:39:48 +02:00
Anthony Fu ea0fdc2aa2
fix(vite): make vite server strict by default (#321) 2021-07-14 16:37:07 +02:00
Daniel Roe 0a3041cdf9
fix: allow use of nuxt3 in non-wsl windows environment (#308) 2021-07-12 12:54:24 +02:00
Anthony Fu 11a5a3e14f
feat(app): make `asyncData` working with `<script setup nuxt>` (#220) 2021-06-16 14:42:58 +02:00
Pooya Parsa 5bd639a493 fix(vite): add nuxt/app to noExternal 2021-06-14 20:52:40 +02:00
Pooya Parsa 838eae4a57 chore: apply latest eslint rules
closes #163
2021-05-24 13:14:10 +02:00
Pooya Parsa 6b62d456d7 feat: optional pages and refactor nuxt3 (#142) 2021-05-20 13:42:41 +02:00
renovate[bot] 82b585dbb0
chore(deps): lock file maintenance and fix lint issues (#141) 2021-05-20 12:58:30 +02:00
Pooya Parsa d8423a2f9a chore(nitro): lazy load renderer resources 2021-04-29 14:08:10 +02:00
pooya parsa 9732d63c74
feat: update vite implementation (#130) 2021-04-29 13:51:54 +02:00
pooya parsa de9dffb0d6 chore: migrate to unenv and mkbuild 0.2 (#108) 2021-04-21 17:10:53 +02:00
Pooya Parsa 75b412bf0f chore(vite): allow extending with `vite:extend`
(temp until moving nuxt-vite)
2021-04-19 22:30:06 +02:00
pooya parsa e224818395
feat: improve dev experience (#89) 2021-04-15 21:17:44 +02:00
pooya parsa f47808f59a
refactor: extract vite and webpack builders (#45) 2021-04-03 15:38:07 +02:00