Divyansh Singh
05f2f0d261
feat: on demand social icons ( #4339 )
1 year ago
Divyansh Singh
2b3e486ab9
fix: multiple cache busting imports causing useData to fail
...
closes #3820
reverts #3398
reopens #3363
1 year 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
2 years ago
Divyansh Singh
27f60e0b77
fix: invalidate module cache for subsequent builds ( #3398 )
2 years ago
烽宁
672e4946ac
feat(build): html head meta generator ( #3219 )
2 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.
2 years ago
Divyansh Singh
1bda710702
fix(build): respect preserveSymlinks ( #2780 )
2 years ago
Bjorn Lu
3f79f4bb6e
refactor: use rollup type from vite ( #2723 )
2 years ago
Divyansh Singh
68f25f5a9c
fix(build): duplicate description tags with transformHead ( #2702 )
2 years ago
烽宁
94e2966bab
feat(build): support overriding meta viewport tag ( #2642 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 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>
2 years ago
烽宁
64d7c3ba54
feat(build): support custom `assetsDir` ( #2497 )
2 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>
2 years ago
Divyansh Singh
32d65d40c5
perf: fix race conditions with cache ( #2579 )
2 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 )
3 years ago
Divyansh Singh
00abac6116
feat(build): support rewrites ( #1798 )
...
Co-authored-by: Kia Ishii <kia.king.08@gmail.com>
3 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>
3 years ago
qiang
09c2c52d6c
feat: support for teleports to body ( #1642 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
3 years ago
Matteo Bilotta
4ac8c0482f
types: strong separation between `import` and `import type` ( #1756 )
3 years ago
Sanjaiyan Parthipan
bf1315ace6
perf: preload css to improve loading speed
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
3 years ago
Divyansh Singh
1de0069a53
fix(build): better align server and client side filename sanitization ( #1488 )
3 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 .
3 years ago
Divyansh Singh
3fd20fedb8
fix(build): better align server and client side filename sanitization
3 years ago
Joaquín Sánchez
6b16dad22f
feat: add `transformHead` hook ( #1323 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
3 years ago
Divyansh Singh
0048e2bf1e
feat(build): switch to vite 3, support clean urls and esm mode ( #856 )
3 years ago
Divyansh Singh
72950337bc
fix: don't add base to external urls while preloading ( #1045 )
3 years ago
Divyansh Singh
2b4b800618
feat: provide `transformHtml` hook ( #1022 )
3 years ago
Divyansh Singh
f7e9cfeb3a
fix: de-duplicate head tags while merging ( #975 ) ( #976 )
3 years ago
meteorlxy
753f35bf7c
refactor: improve page data parsing ( #778 )
4 years ago
Divyansh Singh
23276bae05
feat: emit 404.html on build ( #729 ) ( #740 )
...
close #729
Co-authored-by: Kia Ishii <kia.king.08@gmail.com>
4 years ago
Divyansh Singh
0ac7ac1a6e
chore: remove unnecessary head tags ( #725 )
4 years ago
Divyansh Singh
d93b477c76
fix: convert paths in dynamic imports to file urls ( #671 ) ( #673 )
...
fix #671
4 years ago
Kia King Ishii
b853910c32
style: format
4 years ago
Anthony Fu
a0f81c9f9d
feat: migrate to ESM ( #645 ) ( #659 )
...
close #645
Co-authored-by: Kia King Ishii <kia.king.08@gmail.com>
4 years ago
Kia King Ishii
67e77f7871
feat: add option to customize title template
...
close #303
4 years ago
Kia Ishii
9250460b3f
feat: make appearance configurable
4 years ago
Fabian Winkler
779b78902f
fix: avoid minimizing non-javascript inline scripts ( #517 )
...
fix #538
fix #540
4 years ago
Evan You
9b3243b757
fix: prioritize vue installed in user project root
4 years ago
Evan You
e61db62a1c
feat: minify head inline scripts
4 years ago
Evan You
e721d60585
feat: shouldPreload hook
4 years ago