Daniel Roe
96b09ea982
feat(nuxt): add experimental app:chunkError
hook and reload strategy ( #19038 )
2023-02-16 04:43:58 -08:00
renovate[bot]
9f3b38ca37
chore(deps): update dependency esbuild-loader to v3 (main) ( #18883 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-08 04:09:30 -08:00
Daniel Roe
d998c16bac
fix(webpack): client-side typechecking when ssr: false
( #18828 )
2023-02-06 10:35:47 -08:00
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
renovate[bot]
0b1cdcc70d
chore(deps): update devdependency @nuxtjs/eslint-config-typescript to v12 ( #9086 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-14 01:13:48 +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
Nathan Chase
13e4f8b679
fix: remove postcss.config
from schema ( #9181 )
2022-11-19 14:49:37 +01:00
pooya parsa
265db50515
refactor(nuxt)!: cleanup schema and split nuxt 2 types ( #8487 )
2022-10-27 12:36:37 +02:00
Daniel Roe
e7e7568288
fix(webpack): print build errors ( #8388 )
2022-10-24 10:44:19 +02:00
Daniel Roe
5bf4461faa
fix(webpack): add global to new line ( #8226 )
2022-10-16 11:03:02 +02:00
pooya parsa
895ecc7677
feat!: upgrade to nitropack@0.6
and h3@0.8
( #8218 )
2022-10-15 20:42:57 +02:00
Daniel Roe
eab4706614
feat: allow client-side sourcemaps in production ( #7313 )
2022-09-07 13:32:10 +02:00
Daniel Roe
2bb898fa98
fix(webpack): promisify webpack dev/hot handlers using h3.promisifyHandler
( #7275 )
2022-09-07 10:35:21 +02:00
HomWang
1fc34e6c06
chore: lint ( #7213 )
2022-09-04 10:31:57 +02:00
renovate[bot]
386407ec84
chore(deps): update all non-major dependencies ( #7161 )
2022-09-03 12:03:06 +02:00
Anthony Fu
9db2229f70
refactor: enable strict type checking everywhere ( #6943 )
2022-08-26 17:47:29 +02:00
Pooya Parsa
80875b7960
chore: fix type check
...
csp is not boolean but typed as boolean. we need to fix schema.
2022-08-26 13:03:48 +02:00
Daniel Roe
94214d6b32
feat(nuxt): exclude page chunks from being prefetched ( #6662 )
2022-08-16 13:19:39 +02:00
Daniel Roe
41d6f372a7
feat(nuxt): update to vue-bundle-renderer@0.4
( #6210 )
2022-08-07 11:52:34 +02:00
Daniel Roe
fa8b0f7c79
feat(vite)!: upgrade vite to v3 ( #5398 )
2022-07-21 12:44:33 +02:00
Daniel Roe
23546a270c
feat(nuxt): automatically generate unique keys for keyed composables ( #4955 )
...
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-07-07 18:26:04 +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
Xin Du (Clark)
139fc11c5a
refactor: fix typo and code improvements ( #5344 )
2022-06-08 21:49:11 +02:00
Anthony Fu
256df28124
chore: enable typecheck ci for packages ( #4664 )
2022-04-29 11:38:22 +02:00
Daniel Roe
650d12fa9c
feat: allow disabling sourcemap generation ( #4509 )
2022-04-22 17:35:42 +02:00
pooya parsa
4712e99411
refactor!: rename nuxt3 to nuxt ( #4449 )
2022-04-20 10:52:39 +02:00
pooya parsa
756693ce7f
feat!: migrate to nitro 0.3x ( #4438 )
2022-04-19 21:10:32 +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
7fb29b3a6e
fix(webpack): add css, sass, scss to asset patterns to transpile ( #4375 )
2022-04-15 12:58:22 +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
ade3378a00
refactor(bridge): align bridge with vite and inline systemjs polyfill in entry ( #4005 )
2022-04-01 15:22:22 +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
Ahad Birang
e891ea0cca
feat(webpack): add webpack:devMiddleware
and webpack:hotMiddleware
hooks ( #3606 )
2022-03-13 19:43:41 +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
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
renovate[bot]
7c3327a772
chore(deps): update all non-major dependencies ( #3240 )
2022-02-16 20:11:21 +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
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
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
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
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
Xin Du (Clark)
256d9b1424
fix(webpack): detect postcss config and show warning ( #1805 )
2021-11-10 13:11:08 +01: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
Xin Du (Clark)
080f497eee
fix(webpack): support jsx syntax in esbuild ( #1014 )
2021-10-14 15:21:55 +02:00
Pooya Parsa
0287b46fed
chore: remove unused vuex dependency
2021-10-11 21:17:09 +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
renovate[bot]
aaaeb826ba
chore(deps): update all non-major dependencies ( #565 )
2021-09-29 12:53:41 +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
Pooya Parsa
57f435a59f
fix(webpack): typecheck postcss plugins and add missing postcss-import
( resolves #544 )
2021-09-21 19:02:45 +02:00
pooya parsa
62647844b5
chore: update to unbuild 0.5.x ( #545 )
2021-09-21 18:49:36 +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
8aaa1b3124
fix(webpack): exclude assets from webpack externals ( #471 )
2021-09-05 22:34:56 +02:00
Daniel Roe
193d7bf8bc
feat: use webpack esm server build ( #474 )
2021-09-05 22:33:24 +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
Xin Du (Clark)
5a1ccec61f
fix(webpack): enable minimize for client production bundles ( #404 )
2021-07-31 21:26:32 +01: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
be255772b2
feat: support ssr: false
( #351 )
...
Co-Authored-By: Daniel Roe <daniel@roe.dev>
2021-07-21 22:05:22 +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
Daniel Roe
0a3041cdf9
fix: allow use of nuxt3 in non-wsl windows environment ( #308 )
2021-07-12 12:54:24 +02:00
Anthony Fu
58327824fb
fix: source map for webpack nuxt-setup-loader ( #236 )
2021-06-17 11:56:21 +02:00
Anthony Fu
11a5a3e14f
feat(app): make asyncData
working with <script setup nuxt>
( #220 )
2021-06-16 14:42:58 +02:00
Ahad Birang
8740ece29e
fix(webpack): find asset modules of chunk ( #198 )
2021-06-14 11:37:54 +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
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
5aa59c2ca5
test: add nitro preset tests (v2 & v3) ( #104 )
2021-04-23 21:52:32 +02:00
pooya parsa
de9dffb0d6
chore: migrate to unenv and mkbuild 0.2 ( #108 )
2021-04-21 17:10:53 +02:00
Pooya Parsa
0a74f1e239
fix(webpack): don't inline scoped packages
2021-04-20 15:22:24 +02:00
Pooya Parsa
4e1865358c
fix: issues with externals outside of rootDir
2021-04-19 22:41:02 +02:00
Pooya Parsa
daaf02f5e4
fix(webpack): exclude ! for externals
2021-04-18 18:37:21 +02:00
Daniel Roe
dacde63063
feat: add hook signatures and basic typings ( #79 )
2021-04-13 00:12:30 +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