Anthony Fu
43007c6d13
fix(vite-node): improve server.mjs ( #3967 )
2022-03-30 13:34:23 +02:00
Anthony Fu
56252155ec
fix(vite-node): bugfixes for production build ( #3934 )
2022-03-28 13:02:28 +02:00
Daniel Roe
38e92597f4
fix(vite): externalise #_config
in ssr: false
( #3899 )
2022-03-25 13:18:57 +01:00
Anthony Fu
11c460fa99
fix(vite-node): entry path and executing in production ( #3854 )
2022-03-24 13:35:09 +01:00
Daniel Roe
93c4dfe091
fix(vite): resolve #_config
in base plugin ( #3848 )
2022-03-23 09:10:12 +01: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
Daniel Roe
70f067a14b
fix(vite): sort postcss plugins to add autoprefixer & cssnano last ( #3827 )
2022-03-22 11:40:36 +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
Daniel Roe
ff88d91bae
fix: use perfect-debounce
to handle trailing run of promise ( #3679 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-16 12:11:30 +01:00
Daniel Roe
14b32258e8
fix: ensure debounced/async handlers run in order ( #3656 )
2022-03-15 11:56:16 +01:00
Sébastien Chopin
570016c143
fix(vite): improve logs for client vs server ( #3634 )
2022-03-14 11:19:37 +01:00
Anthony Fu
ac40c9746c
feat(vite): experimental vite-node
support ( #2795 )
...
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-11 09:41:27 +01:00
Daniel Roe
78761c236b
fix(vite): handle base in vite/preload-helper
( #3499 )
2022-03-04 12:45:14 +01:00
Anthony Fu
ecee32988d
chore: migrate to magic-string
( #3482 )
2022-03-03 11:01:14 +01:00
Daniel Roe
494f85a2b2
fix(vite): narrow nuxt3 inlining config ( #3474 )
2022-03-02 18:54:53 +01:00
Anthony Fu
a0f8a44e10
fix: sourcemap support for nuxt:vite-relative-asset
( #3428 )
2022-02-28 20:24:52 +01:00
Daniel Roe
754ff0c9e7
feat: .nuxtignore
support and isIgnored
kit utility ( #3424 )
2022-02-28 17:11:46 +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
Daniel Roe
70542a3af7
feat(nuxt3): expose /app
export paths ( #3323 )
2022-02-18 19:26:43 +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
42373e060d
fix: clean up some type issues and add type test suite ( #3199 )
2022-02-15 10:50:11 +01:00
Anthony Fu
61188e15cf
fix(vite): hmr port priority ( #3190 )
2022-02-11 13:09:25 +01:00
Anthony Fu
089160a541
fix(vite): assign different hmr port for each instance ( #3169 )
...
Co-authored-by: danielroe <danielroe@users.noreply.github.com>
2022-02-10 17:37:05 +01:00
Anthony Fu
b2438917b9
perf(vite): bypass unchanged plugin transform ( #3150 )
2022-02-10 10:30:34 +01:00
Anthony Fu
cb663b0285
chore(vite): unifiy vite plugin naming ( #3151 )
2022-02-10 10:29:49 +01:00
Daniel Roe
0f9bcbf68f
fix(vite): invalidate client modules too ( #3116 )
2022-02-08 01:10:42 +01:00
Daniel Roe
29171bd105
fix: sanitize import filenames in generated imports ( #2216 )
2022-02-07 14:45:47 +01:00
Daniel Roe
b110c8c96c
fix(vite): externalize config at rollup, not ssr level ( #2971 )
2022-01-31 11:54:48 +01:00
Daniel Roe
965f2abaee
feat(nuxt3): middleware type generation improvements ( #2945 )
2022-01-27 12:13:32 +01:00
Daniel Roe
d0bcc3fc82
fix(vite): only apply relative url fix to css assets ( #2930 )
2022-01-26 13:59:48 +01:00
Daniel Roe
b803fdb4f9
fix(vite): handle emitted assets with relative urls and dynamic base ( #2851 )
2022-01-24 13:57:24 +01:00
Daniel Roe
d07d572263
feat: improve base url options ( #2655 )
2022-01-18 17:59:14 +01:00
Daniel Roe
4728fd545e
fix(vite): invalidate virtual modules when templates are regenerated ( #2725 )
2022-01-17 11:49:53 +01:00
Daniel Roe
4111038aa7
chore: replace substr
with slice
( #2738 )
2022-01-17 11:49:10 +01:00
Daniel Roe
4b351504e8
fix(vite): correctly import node builtins in dev bundler ( #2753 )
2022-01-17 11:36:44 +01:00
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