Commit Graph

43 Commits

Author SHA1 Message Date
Daniel Roe
081dc3254f chore: update internal repo/issue links to usenuxt/nuxt 2023-01-19 19:37:07 +00:00
Jose Morel
baf9d950db
feat(vite): support build.transpile as function (#7767)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-19 10:56:34 +00:00
Daniel Roe
a68da6d6a7
chore: case police update (#10085) 2023-01-13 15:00:57 +00:00
Daniil Chudo
ab2456c295
refactor: split out type imports from value imports (#9225) 2022-12-11 21:44:52 +00:00
pooya parsa
265db50515
refactor(nuxt)!: cleanup schema and split nuxt 2 types (#8487) 2022-10-27 12:36:37 +02:00
Anthony Fu
9db2229f70
refactor: enable strict type checking everywhere (#6943) 2022-08-26 17:47:29 +02:00
Daniel Roe
94214d6b32
feat(nuxt): exclude page chunks from being prefetched (#6662) 2022-08-16 13:19:39 +02:00
Daniel Roe
fa8b0f7c79
feat(vite)!: upgrade vite to v3 (#5398) 2022-07-21 12:44:33 +02:00
Daniel Roe
8ffe2a33a7
fix(webpack): transpile vue-demi (#5721) 2022-07-06 20:23:05 +02:00
Daniel Roe
4fdea30cbb
fix(webpack): enable extractCSS by default (#4388) 2022-06-13 14:52:27 +02:00
Daniel Roe
5d4586a322
fix(webpack): respect build.transpile (#5043) 2022-06-10 15:18:31 +02:00
pooya parsa
756693ce7f
feat!: migrate to nitro 0.3x (#4438) 2022-04-19 21:10:32 +02:00
FL3NKEY
2bedebe5ee
fix(webpack): add exportOnlyLocals: true for css modules options in server build. (#3778)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-07 13:51:10 +02:00
pooya parsa
11626eea4f
feat!: migrate to nitropack (#3956)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-07 13:28:04 +02:00
Daniel Roe
7458dd1aa6
fix(nuxt3): use shared module for dynamic paths (#3757)
* test: add tests for dynamic paths + relative assets

Co-authored-by: Anthony Fu <hi@antfu.me>

* fix: rework client config and use shared module for dynamic paths

* resolves webpack public path regression

* refactor: use more similar names to nitro equivalent

* fix: align config exports

* refactor: remove `__` prefix within dynamic paths module

* refactor: use '#_config' to indicate internal alias

* Update packages/nuxt3/src/core/templates.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>

* refactor: use `#_config` alias and rename to `paths.mjs`

Co-authored-by: Anthony Fu <hi@antfu.me>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-22 16:51:26 +01:00
Anthony Fu
f69126e8f4
feat: support reactivity transform (#3737)
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-03-17 23:17:59 +01:00
yoho
c942465f79
chore: remove extra space (#3597) 2022-03-11 09:07:26 +01:00
Daniel Roe
73ba30fb69
refactor(schema,webpack)!: split out webpack and postcss build options (#2812)
* refactor: split out webpack and postcss build options

* feat(schema): set nuxt3 builder in config

* fix(schema): default postcss config file to false

* chore: update lockfile

* style: remove unused imports

* refactor(webpack): remove (previously disabled) babel config

* refactor: move shared vite options into schema

* fix(schema): omit __NUXT_BASE__ from defaults

* fix: move appDir-dependent options back to vite

* refactor: split out virtual modules

* refactor: extract compile/createDevMiddleware

* refactor: further improvements

* chore: remove `@nuxt/webpack-builder` dependency

* chore: update lockfile

* refactor: move `builder` option to top level

* fix: bind close to watcher instance

* chore: update lockfile

* fix: create portal between postcss & build.postcss.postcssOptions

* fix: remove duplicate

* fix: revert

* fix: use `postcss` directly

* fix: import builder from rootDir

* chore: dedupe webpack install

* test: update fixture to use `builder`

* fix: bind class in pify

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-02-25 20:11:01 +01:00
Daniel Roe
e45a780714
fix(vite,webpack): disable async entrypoint by default (#3375)
* fix(vite): don't use async entry

* fix: use async entry when built

* refactor: default to sync entry, with option to enable async

* refactor: move to experimental.asyncEntry

* Update packages/webpack/src/presets/base.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>

* Update packages/vite/src/vite.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>

* style: remove double space

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-02-25 13:42:34 +01:00
Anthony Fu
467ab693b9
feat: shared logger and silent test logs (#3259)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-02-16 22:34:32 +01:00
Daniel Roe
965f2abaee
feat(nuxt3): middleware type generation improvements (#2945) 2022-01-27 12:13:32 +01:00
Daniel Roe
d07d572263
feat: improve base url options (#2655) 2022-01-18 17:59:14 +01:00
pooya parsa
c288907f72
fix(webpack): import esbuild-loader as commonjs (#2460) 2021-12-20 13:00:27 +01:00
sanfengliao
cad09fe9b3
fix(webpack): remove MiniCssExtractPlugin.loader options (#2217) (#2218)
Co-authored-by: sanfordliao <sanfordliao@tencent.com>
2021-11-30 16:39:45 +01:00
Xin Du (Clark)
080f497eee
fix(webpack): support jsx syntax in esbuild (#1014) 2021-10-14 15:21:55 +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
Xin Du (Clark)
d05d8821a0
feat(webpack): bring back postcss and postcss-loader (#532) 2021-09-17 18:20:05 +02:00
Daniel Roe
193d7bf8bc
feat: use webpack esm server build (#474) 2021-09-05 22:33:24 +02:00
Daniel Roe
bb757045ec
fix(webpack): use cjs for emitted webpack files (#395) 2021-07-28 14:00:39 +02:00
Daniel Roe
f980ef235f
fix(app): separate plugin entrypoints (#366) 2021-07-23 16:58:38 +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
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
6b62d456d7 feat: optional pages and refactor nuxt3 (#142) 2021-05-20 13:42:41 +02:00
pooya parsa
9732d63c74
feat: update vite implementation (#130) 2021-04-29 13:51:54 +02:00
Pooya Parsa
f723cc6fcd chore: disable webpack fs cache 2021-04-28 16:50:41 +02:00
pooya parsa
de9dffb0d6 chore: migrate to unenv and mkbuild 0.2 (#108) 2021-04-21 17:10:53 +02:00
Pooya Parsa
5d5183ee82 perf(webpack): use fs cache by default 2021-04-04 14:28:55 +02:00
pooya parsa
f47808f59a
refactor: extract vite and webpack builders (#45) 2021-04-03 15:38:07 +02:00