Commit Graph

460 Commits

Author SHA1 Message Date
Daniel Roe
4c6c027014
fix(vite): use single regex to reduce risk of collisions (#4442) 2022-04-22 17:22:22 +02:00
renovate[bot]
163b74f3f6
chore(deps): update all non-major dependencies (#4483)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-22 17:08:58 +02:00
Daniel Roe
648a70e97b
fix(vite): transform virtual templates (#4512) 2022-04-22 10:32:26 +02:00
Pooya Parsa
0c2f076957 chore(release): v3.0.0-rc.1 2022-04-20 23:09:37 +02:00
Pooya Parsa
5f0fc19938 chore: update packages to 3.0.0-rc.0 2022-04-20 12:52:12 +02:00
pooya parsa
4712e99411
refactor!: rename nuxt3 to nuxt (#4449) 2022-04-20 10:52:39 +02:00
Daniel Roe
896d1404a3
chore: bump node dependencies (#4440) 2022-04-20 00:14:27 +02:00
pooya parsa
756693ce7f
feat!: migrate to nitro 0.3x (#4438) 2022-04-19 21:10:32 +02:00
renovate[bot]
59ba87ee83
chore(deps): update all non-major dependencies (#4395)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-17 11:58:21 +02:00
Daniel Roe
ea14a5c1c1
feat(vite,webpack): build/dev typechecking (#4379) 2022-04-15 17:28:42 +02:00
Daniel Roe
e0b2a3bfe4
chore: use node: prefix for built-in modules (#4384) 2022-04-15 17:19:05 +02:00
Daniel Roe
301a0aba49
build(vite): don't inline h3 (#4378) 2022-04-15 17:01:09 +02:00
Anthony Fu
51ae426d4c
fix(vite): dev bundler for cjs support (#4371) 2022-04-15 09:57:36 +02:00
renovate[bot]
2917af595b
chore(deps): update all non-major dependencies (#4367)
* chore(deps): update all non-major dependencies

* ignore type issue

* update lockfile

* remove tsignore

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-04-15 09:57:23 +02:00
Anthony Fu
074daa767c
fix(vite): interop cjs (#4370) 2022-04-15 09:40:40 +02:00
renovate[bot]
eefaba8160
chore(deps): update dependency vite to ^2.9.5 (#4363)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-14 18:00:38 +02:00
renovate[bot]
4b54d6c6a8
chore(deps): update all non-major dependencies (#4353)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-14 17:28:04 +02:00
renovate[bot]
41663f6264
chore(deps): update all non-major dependencies (#4340)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-14 10:54:15 +02:00
renovate[bot]
be298e9216
chore(deps): update dependency vite to ^2.9.3 (#4335)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-13 19:39:33 +02:00
renovate[bot]
b241e5061b
chore(deps): update all non-major dependencies (#4328)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-13 19:26:03 +02:00
Anthony Fu
e31c604ac4
feat(vite-node): on-demand manifest generation (#3968)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-12 12:04:55 +02:00
renovate[bot]
02b148ae2c
chore(deps): update all non-major dependencies (#4282)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-12 11:09:21 +02:00
renovate[bot]
e95ac2efb5
chore(deps): update all non-major dependencies (#4271)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-12 08:46:22 +02:00
renovate[bot]
2ca704641b
chore(deps): update all non-major dependencies (#4266)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-11 20:19:52 +02:00
renovate[bot]
041e8694d1
chore(deps): update all non-major dependencies (#4229)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-11 10:38:46 +02:00
Dizzy Rogers
26f8d8eb8f
fix(vite): prefer hmr ws protocol (#4203) 2022-04-09 12:09:43 +02:00
renovate[bot]
a5ca843827
chore(deps): update all non-major dependencies to ^0.9.2 (#4188)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-08 02:07:15 +02:00
pooya parsa
315e5b59e6
fix: nitropack fixes and upgrade to 0.2.x (#4187) 2022-04-08 02:05:27 +02:00
renovate[bot]
96657388f5
chore(deps): update all non-major dependencies (#4181)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-07 21:18:16 +02:00
Ahad Birang
f0714d78b0
fix(kit): use route instead of path in ServerMiddleware (#4139) 2022-04-07 13:32:28 +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
renovate[bot]
7d1ff39077
chore(deps): update all non-major dependencies (#4149)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-07 13:03:52 +02:00
renovate[bot]
2eedb589d7
chore(deps): update all non-major dependencies (#4134)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-06 21:16:56 +02:00
Daniel Roe
3ea39e0745
fix(vite): clean up dynamic paths (#4130) 2022-04-06 16:15:36 +02:00
renovate[bot]
e561efc6c8
chore(deps): update dependency esbuild to ^0.14.32 (#4110)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-06 08:01:17 +02:00
Anthony Fu
ec32cf9fc5
fix(vite): improve warmup (#4106) 2022-04-06 07:54:53 +02:00
renovate[bot]
61180648ca
chore(deps): update all non-major dependencies (#4028)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-04 09:56:23 +02:00
Daniel Roe
ade3378a00
refactor(bridge): align bridge with vite and inline systemjs polyfill in entry (#4005) 2022-04-01 15:22:22 +02:00
renovate[bot]
1b61bda286
chore(deps): update all non-major dependencies (#4013)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-01 13:44:34 +02:00
Daniel Roe
51f3bbfd23
fix(vite): update regex to handle new vite output format (#4014) 2022-04-01 12:15:00 +02:00
renovate[bot]
0c5d9872ac
chore(deps): update all non-major dependencies (#3979)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-31 21:59:36 +02:00
Daniel Roe
fdd6a91a51
fix(vite): optimise vue by default (#3997) 2022-03-31 16:10:06 +02:00
Daniel Roe
5b2ed856fc
feat(vite): upgrade to vite 2.9.0 (#3974) 2022-03-31 11:28:05 +02:00
Anthony Fu
9c2e208090
fix(vite-node): wrong entry been resolved in stub mode (#3983) 2022-03-31 09:11:50 +02:00
renovate[bot]
7011117c83
chore(deps): update all non-major dependencies (#3962)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-31 00:33:07 +02:00
Pooya Parsa
646c2f63f7 fix(deps): pin vite to 2.8.x
pending for #3974
2022-03-31 00:27:57 +02:00
Anthony Fu
43007c6d13
fix(vite-node): improve server.mjs (#3967) 2022-03-30 13:34:23 +02:00
renovate[bot]
c28c6a8c8a
chore(deps): update all non-major dependencies (#3952)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-29 15:23:36 +02:00
renovate[bot]
e534ffe22f
chore(deps): update all non-major dependencies (#3910)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-28 13:56:52 +02:00
Anthony Fu
56252155ec
fix(vite-node): bugfixes for production build (#3934) 2022-03-28 13:02:28 +02:00
renovate[bot]
5fa9d79303
chore(deps): update all non-major dependencies (#3888)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-25 15:43:14 +01: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
renovate[bot]
1ad65998a4
chore(deps): update all non-major dependencies (#3859)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-24 13:14:12 +01:00
renovate[bot]
a8317830a8
chore(deps): update all non-major dependencies (#3857)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-23 12:58:44 +01:00
renovate[bot]
e16998126d
chore(deps): update vite dependencies to ^0.7.8 (#3853)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-23 09:32:32 +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
renovate[bot]
6c4a34a675
chore(deps): update dependency postcss-import to ^14.1.0 (#3837)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-22 16:48:10 +01:00
Daniel Roe
70f067a14b
fix(vite): sort postcss plugins to add autoprefixer & cssnano last (#3827) 2022-03-22 11:40:36 +01:00
renovate[bot]
ae364f95cc
chore(deps): update all non-major dependencies (#3788)
* chore(deps): update all non-major dependencies

* update test

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-22 10:57:35 +01:00
renovate[bot]
d909bc6548
chore(deps): update dependency defu to v6 (#3816)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-22 10:32:28 +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
renovate[bot]
6be6c3cf25
chore(deps): update all non-major dependencies (#3752)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-17 21:11:15 +01:00
renovate[bot]
ed908fe027
chore(deps): update dependency vite-node to ^0.7.1 (#3748)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-17 19:18:38 +01:00
renovate[bot]
8b52844cba
chore(deps): update vite to ^0.7.0 (#3724)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-17 02:31:07 +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
renovate[bot]
3a8bef609d
chore(deps): update all non-major dependencies (#3677)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-16 11:53:18 +01:00
Anthony Fu
7af60ca9b2
chore: upgrade vitest, improve tests capture (#3695) 2022-03-16 11:47:22 +01:00
Pooya Parsa
a436d8e0dc fix: update ufo 2022-03-16 11:21:24 +01:00
Divine
04026a3861
refactor: use ufo.hasProtocol to detect external link (#3686) 2022-03-16 10:44:05 +01:00
renovate[bot]
fa8daefb6e
chore(deps): update all non-major dependencies (#3660)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-15 15:51:53 +01:00
Daniel Roe
14b32258e8
fix: ensure debounced/async handlers run in order (#3656) 2022-03-15 11:56:16 +01:00
renovate[bot]
8a0c10deea
chore(deps): update all non-major dependencies (#3635)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-14 11:21:10 +01:00
Sébastien Chopin
570016c143
fix(vite): improve logs for client vs server (#3634) 2022-03-14 11:19:37 +01:00
renovate[bot]
a2b21d9b8f
chore(deps): update all non-major dependencies (#3613)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-13 19:41:42 +01:00
renovate[bot]
7650f6c57d
chore(deps): update all non-major dependencies (#3585)
* chore(deps): update all non-major dependencies

* transpile h3 for bridge

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-11 09:57:59 +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
renovate[bot]
230c8cb491
chore(deps): update all non-major dependencies (#3555)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-09 11:38:46 +01:00
renovate[bot]
3d5b695e34
chore(deps): update all non-major dependencies (#3554)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-08 19:01:22 +01:00
renovate[bot]
5b7fbc1569
chore(deps): update all non-major dependencies (#3450) 2022-03-08 18:17:01 +01:00
Daniel Roe
d404484c61
fix(vite, webpack): add missing dependencies (#3547) 2022-03-08 11:07:18 +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
pooya parsa
39f7eb2cd2
fix(test-utils): improve random port allocation (#3398) 2022-02-28 22:41:44 +01:00
renovate[bot]
90e23c600c
chore(deps): update devdependency magic-string-extra to ^0.1.2 (#3445)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-28 20:27:04 +01:00
Anthony Fu
a0f8a44e10
fix: sourcemap support for nuxt:vite-relative-asset (#3428) 2022-02-28 20:24:52 +01:00
renovate[bot]
fcb200730d
chore(deps): update all non-major dependencies (#3434)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-28 20:08:45 +01:00
Daniel Roe
754ff0c9e7
feat: .nuxtignore support and isIgnored kit utility (#3424) 2022-02-28 17:11:46 +01:00
renovate[bot]
9b19b9f366
chore(deps): update all non-major dependencies (#3400)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-27 19:38:00 +00:00
Daniel Roe
4cfad4d719
fix(vite): add cssnano dependency (#3402) 2022-02-26 00:01:54 +00: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
renovate[bot]
5c1f2fad83
chore(deps): update all non-major dependencies (#3347)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-25 12:39:10 +01:00
renovate[bot]
a358bdad93
chore(deps): update all non-major dependencies (#3327)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-21 12:29:59 +01:00
renovate[bot]
69f24d262e
chore(deps): update all non-major dependencies (#3306)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-18 19:27:21 +01:00
Daniel Roe
70542a3af7
feat(nuxt3): expose /app export paths (#3323) 2022-02-18 19:26:43 +01:00
renovate[bot]
65d51d67ce
chore(deps): update all non-major dependencies (#3273)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-17 17:32:49 +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
renovate[bot]
7c3327a772
chore(deps): update all non-major dependencies (#3240) 2022-02-16 20:11:21 +01:00
renovate[bot]
cc9d525650
chore(deps): update all non-major dependencies (#3204)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-15 10:53:20 +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
renovate[bot]
e90331a411
chore(deps): update all non-major dependencies (#3194)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-11 15:29:36 +01:00
Anthony Fu
61188e15cf
fix(vite): hmr port priority (#3190) 2022-02-11 13:09:25 +01:00
renovate[bot]
7701c125ea
chore(deps): update all non-major dependencies (#3176)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-11 10:19:53 +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
renovate[bot]
650d7607ff
chore(deps): update all non-major dependencies (#3137)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-09 12:51:10 +01:00
Daniel Roe
0f9bcbf68f
fix(vite): invalidate client modules too (#3116) 2022-02-08 01:10:42 +01:00
renovate[bot]
a1b2d09438
chore(deps): update all non-major dependencies (#3097)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-07 21:50:53 +01:00
Daniel Roe
29171bd105
fix: sanitize import filenames in generated imports (#2216) 2022-02-07 14:45:47 +01:00
renovate[bot]
00ba607ca2
chore(deps): update all non-major dependencies (#3066)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-07 11:22:43 +01:00
renovate[bot]
09dc06e138
chore(deps): update all non-major dependencies (#3013)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-03 11:21:51 +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
renovate[bot]
0affa39b62
chore(deps): update all non-major dependencies (#2912)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-01-26 12:57:33 +01:00
renovate[bot]
b0a56ad807
chore(deps): update all non-major dependencies (#2902)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-25 15:51:19 +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
renovate[bot]
0b0e56ae4f
chore(deps): update all non-major dependencies (#2818)
* chore(deps): update all non-major dependencies

* feat: add isShallow auto import

https://github.com/vuejs/core/commit/9fda941

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-01-24 13:38:03 +01:00
renovate[bot]
74ce059d6f
chore(deps): update all non-major dependencies (#2781)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-19 19:09:22 +01:00
renovate[bot]
c80870ad8c
chore(deps): update all non-major dependencies (#2767)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-18 17:59:31 +01:00
Daniel Roe
d07d572263
feat: improve base url options (#2655) 2022-01-18 17:59:14 +01:00
renovate[bot]
0e984fe496
chore(deps): update all non-major dependencies (#2756)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-17 18:25:38 +01:00
renovate[bot]
91032cdd64
chore(deps): update all non-major dependencies (#2717)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-17 11:56:28 +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
pooya parsa
33ebb01d7f
fix: upgrade vite to 2.7.12 (#2716)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-01-14 12:48:58 +01:00
renovate[bot]
303b5bd220
chore(deps): update all non-major dependencies (#2707)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-13 18:21:05 +01:00
renovate[bot]
74be5a7416
chore(deps): update all non-major dependencies (#2676) 2022-01-13 14:13:58 +01:00
blazmrak
e0fec80baf
fix(vite): build fails with ssr turned off (#2652) 2022-01-13 13:39:23 +01:00
renovate[bot]
47cac4c597
chore(deps): update all non-major dependencies (#2637)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-11 18:45:11 +01:00
renovate[bot]
c8b02972d0
chore(deps): update all non-major dependencies (#2527)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-05 19:37:56 +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]
b554c46ab2
chore(deps): update all non-major dependencies (#2510)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 13:30:50 +01:00
renovate[bot]
05da4c2ef5
chore(deps): update all non-major dependencies (#2496)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-22 11:59:44 +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
renovate[bot]
23397e603c
feat(deps): update all non-major dependencies (#2252)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-12-14 16:46:05 +01:00
renovate[bot]
a5d5067771
chore(deps): update dependency @vitejs/plugin-vue to v2 (#2354)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-14 14:29:27 +01:00
renovate[bot]
ceec9fdba8
chore(deps): update all non-major dependencies (#2214)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-01 12:58:38 +01:00
Anthony Fu
29a2eb3dc1
fix(vite): include dynamic css (revert #2067) (#2227) 2021-11-30 15:37:01 +01:00
renovate[bot]
7d8a1769fa
chore(deps): update all non-major dependencies (#2144)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-29 12:34:40 +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
renovate[bot]
95978ed14d
chore(deps): update all non-major dependencies (#2071)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-22 18:37:59 +01:00
pooya parsa
d68318f9d5
refactor: split schema to @nuxt/schema and simplify kit (#2059) 2021-11-21 17:14:46 +01:00
renovate[bot]
4706f0877f
chore(deps): update all non-major dependencies (#2031)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-21 13:32:53 +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
renovate[bot]
767eee0024
chore(deps): update dependency esbuild to ^0.13.14 (#1953)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-16 13:32:37 +01:00
renovate[bot]
5786949d9b
chore(deps): update all non-major dependencies (#1837) 2021-11-15 13:09:26 +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
Anthony Fu
202617bdd1
fix(bridge): plugin default detection (#1847)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-11 14:58:43 +01:00
pooya parsa
6eb4040b23
fix(vite): remove global replacement (#1835) 2021-11-10 21:15:26 +01:00
renovate[bot]
fd9e56f2b8
chore(deps): update all non-major dependencies (#1807)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 13:12:11 +01:00
renovate[bot]
bf716f3978
chore(deps): update all non-major dependencies (#1743)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-09 13:55:48 +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
renovate[bot]
6f934aa9d9
chore(deps): update all non-major dependencies (#1641)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 14:32:25 +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
renovate[bot]
266578b76e
chore(deps): update all non-major dependencies (#1591)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-02 12:26:26 +01:00
Levi (Nguyễn Lương Huy)
4c17b92b66
chore(docs): add code format using markdownlint (#1498) (#1556) 2021-10-29 13:26:01 +02:00
Daniel Roe
bdbfa36987
fix(vite): improve external checks for dev-bundler (#1538) 2021-10-29 10:43:07 +02:00
renovate[bot]
59de0f9218
chore(deps): update all non-major dependencies (#1519)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-28 16:49: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
renovate[bot]
0520db6b22
chore(deps): update all non-major dependencies (#1508)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 16:01:11 +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
renovate[bot]
3bc984d0c0
chore(deps): update all non-major dependencies (#1488)
close #1243, close #944
2021-10-27 10:19:32 +02:00
Daniel Roe
096f0679f7
fix(vite): set #build/plugins alias to empty string (#1489) 2021-10-27 08:03:10 +00:00
renovate[bot]
876857db5e
chore(deps): update all non-major dependencies (#1481)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 19:36:52 +02: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
renovate[bot]
a382bf02ff
chore(deps): update all non-major dependencies (#1425)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 16:25:51 +02:00
Anthony Fu
4f9c87b99a
fix(pkg): support node 17.x in the engines field (#1443)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-25 16:14:52 +02:00
renovate[bot]
9e3dfad172
chore(deps): update all non-major dependencies (#1384)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-24 13:24:58 +02:00
Pooya Parsa
776539b809 fix(vite): add missing esbuild dependency 2021-10-21 22:18:39 +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
renovate[bot]
7c3b488b5f
fix: update externality to v0.1.1 (#1284)
resolves #1275
2021-10-20 15:01:09 +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
Pooya Parsa
4526af78a9 fix(pkg): downgrade node version to 14.16.x due to stackblitz issue
14.16.0 was released at 2021-02-23. hopefully most of platforms had time to migrate LTS.
2021-10-19 13:37:59 +02:00
Pooya Parsa
8db76fcf2e fix(pkg): downgrade node version to 14.17.x due to codesandbox issue 2021-10-19 13:24:51 +02:00