Calum H. (IMB11)
60add88c16
feat: build concurrency + ssr batching
2 days ago
Divyansh Singh
840a69dcb6
refactor(build): use async fs and minify while rendering pages
...
Swap the remaining sync fs calls in renderPage for fs/promises,
switch head-script minification to the async minify API, and make
resolvePageImports async for the realpath call. Pages render under
buildConcurrency, so blocking calls here stall the whole batch.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
5 days ago
Divyansh Singh
5e4a9e799f
fix(build): resolve additional configs by source path
...
Discovered config files are keyed by their source directory, but the
lookup walked the rewrite-applied relativePath, so directories covered
by rewrites silently lost their additional config. Resolve against
pageData.filePath on both server and client, which also makes dynamic
route pages inherit configs from their route template's directory.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
6 days ago
Divyansh Singh
470c4e018a
refactor: clean up types
1 month ago
Divyansh Singh
c0e2e18094
fix: don't invalidate framework chunk when a new asset is added
1 month ago
Divyansh Singh
1ade7bd422
refactor: migrate scripts to typescript and organize imports
1 month ago
Divyansh Singh
e6e90ed5a9
refactor: drop fs-extra and organize imports
1 month ago
Divyansh Singh
228eef187a
feat!: migrate to vite 8
1 month ago
Divyansh Singh
d96bf1dc61
fix: escape description in head
4 months ago
Yuji Sugiura
d16d1970bc
chore: update oxc-minify to 0.98 ( #5033 )
9 months ago
Divyansh Singh
801648a4c9
fix: don't preload dynamic imports
...
closes #4770
1 year ago
翠
7c1dc48b2f
feat: use `oxc-minify` instead of `transformWithEsbuild` when rolldown-vite is used ( #4748 )
1 year ago
Yuxuan Zhang
c5e2e4db81
feat: support distributed config files ( #4660 )
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
36bde803c8
chore: maintenance and cleanup
2 years ago
Divyansh Singh
05f2f0d261
feat: on demand social icons ( #4339 )
2 years ago
Divyansh Singh
2b3e486ab9
fix: multiple cache busting imports causing useData to fail
...
closes #3820
reverts #3398
reopens #3363
2 years ago
Divyansh Singh
7ea357256c
fix: dont escape ampersand twice in title
2 years ago
Divyansh Singh
49b1233378
fix: escape title properly in build
2 years ago
Divyansh Singh
728cb15677
fix: render 404 page completely on client to infer locale from browser path ( #3858 )
2 years ago
Divyansh Singh
c2b4c66e79
fix(client): add computed dir and lang to html root
...
instead of accessing raw siteData.lang/dir
fixes https://github.com/vuejs/vitepress/pull/3353#issuecomment-1874753809
3 years ago
Divyansh Singh
27f60e0b77
fix: invalidate module cache for subsequent builds ( #3398 )
3 years ago
烽宁
672e4946ac
feat(build): html head meta generator ( #3219 )
3 years ago
Divyansh Singh
d2238eedb7
feat: switch to vite 5 and bump deps ( #3200 )
...
BREAKING CHANGE: VitePress now runs on Vite 5. Please refer https://vitejs.dev/guide/migration for breaking changes and migration guide if you're relying on some Vite-specific things.
3 years ago
Divyansh Singh
1bda710702
fix(build): respect preserveSymlinks ( #2780 )
3 years ago
Bjorn Lu
3f79f4bb6e
refactor: use rollup type from vite ( #2723 )
3 years ago
Divyansh Singh
68f25f5a9c
fix(build): duplicate description tags with transformHead ( #2702 )
3 years ago
烽宁
94e2966bab
feat(build): support overriding meta viewport tag ( #2642 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
3 years ago
Divyansh Singh
700fad192e
feat(build): add `metaChunk` option to extract metadata to separate chunk ( #2626 )
...
Co-authored-by: Bojan Rajh <b.rajh@shopware.com>
3 years ago
烽宁
64d7c3ba54
feat(build): support custom `assetsDir` ( #2497 )
3 years ago
Divyansh Singh
e02adfe3ea
fix(build): remove `=""` from boolean attributes in head ( #2620 )
...
x-ref: https://github.com/vuejs/vitepress/issues/1131#issuecomment-1574092184 , #2607
Co-authored-by: CaptainTeemo <alittlebarney@gmail.com>
3 years ago
Divyansh Singh
32d65d40c5
perf: fix race conditions with cache ( #2579 )
3 years ago
烽宁
8354f8fb86
fix(theme): local search showDetailedList not working in windows ( #2248 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
3 years ago
Evan You
24735dbcde
perf(theme): preload font
3 years ago
Evan You
468c049ccd
feat: expose page and assets on build hooks TransformContext
3 years ago
Evan You
d64a76eb36
perf: kickoff main chunk fetch earlier in browsers without modulepreload support
3 years ago
Evan You
22ace7b075
perf: inline site data on page
...
Previously the site data is bundled in JavaScript, and when it changes,
it invalidates the chunk hash of the framework chunk, and in turn
invlidates the chunk hash of **every page**.
With this change, the site data is now inlined in each page as a JSON
string, similar to the page chunk hash data. This ensures that config
changes will no longer affect JavaScript chunk hashes.
3 years ago
Evan You
b075ee5be6
fix: dyamic routes w/ srcDir + relative imports
3 years ago
Evan You
80fb3b0e98
wip: prod build for dynamic routes
3 years ago
Divyansh Singh
5ae4fbde38
feat: stable `cleanUrls` ( #1852 )
4 years ago
Divyansh Singh
00abac6116
feat(build): support rewrites ( #1798 )
...
Co-authored-by: Kia Ishii <kia.king.08@gmail.com>
4 years ago
Divyansh Singh
8de2f4499d
feat: add i18n feature ( #1339 )
...
fix #291
fix #628
fix #631
fix #902
fix #955
fix #1253
fix #1381
Co-authored-by: Hiroki Okada <hirokio@tutanota.com>
Co-authored-by: Sadegh Barati <sadeghbaratiwork@gmail.com>
4 years ago
qiang
09c2c52d6c
feat: support for teleports to body ( #1642 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
4 years ago
Matteo Bilotta
4ac8c0482f
types: strong separation between `import` and `import type` ( #1756 )
4 years ago
Sanjaiyan Parthipan
bf1315ace6
perf: preload css to improve loading speed
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
4 years ago
Divyansh Singh
1de0069a53
fix(build): better align server and client side filename sanitization ( #1488 )
4 years ago
Divyansh Singh
ead9b8c6f6
Revert "fix(build): better align server and client side filename sanitization" ( #1484 )
...
* Revert "fix(build): remove leading underscore from chunks"
This reverts commit 41a519cc77 .
* Revert "fix(build): better align server and client side filename sanitization"
This reverts commit 3fd20fedb8 .
4 years ago
Divyansh Singh
3fd20fedb8
fix(build): better align server and client side filename sanitization
4 years ago
Joaquín Sánchez
6b16dad22f
feat: add `transformHead` hook ( #1323 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
4 years ago
Divyansh Singh
0048e2bf1e
feat(build): switch to vite 3, support clean urls and esm mode ( #856 )
4 years ago
Divyansh Singh
72950337bc
fix: don't add base to external urls while preloading ( #1045 )
4 years ago