Divyansh Singh
c9b89282f3
fix: use v-pre for mathjax instead of isCustomElement
7 months ago
Divyansh Singh
26cb685adf
fix(build): emit lean chunks after vite has done processing
...
closes #4737
Co-authored-by: green <green@sapphi.red>
7 months ago
Yuxuan Zhang
c5e2e4db81
feat: support distributed config files ( #4660 )
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
8 months ago
翠 / green
ae0d52d999
refactor: avoid assigning to bundle object ( #4647 )
8 months ago
Divyansh Singh
e271695d71
fix: hmr not working for watched files in path loaders
...
follow up on #4525
9 months ago
Divyansh Singh
d8a884ed0f
fix: prevent reload on first server start in fresh installations
9 months ago
Divyansh Singh
a62ea6a832
feat: dynamic routes plugin overhaul ( #4525 )
...
BREAKING CHANGES: Internals are modified a bit to better support vite 6 and handle HMR more correctly. For most users this won't need any change on their side.
9 months ago
Divyansh Singh
c2ab5b03a8
fix(build): don't destructure pages as it will be updated onFileAddDelete
10 months ago
Evan You
8214cae21b
fix: fix static content removal for lean chunks due to Vue 3.5 changes ( #4508 )
11 months ago
Divyansh Singh
36bde803c8
chore: maintenance and cleanup
11 months ago
Divyansh Singh
615aed5df7
fix(regression): hmr not working with markdown includes due to wrong cache key
...
closes #4289
closes #4303
1 year ago
Estéban
45968cdc50
fix: cache markdown it instance and properly dispose shiki on config reload ( #4321 )
...
This results in over 5x speedup in build times of certain projects. But this comes at the cost of correctness. `createMarkdownRenderer` now ignores any arguments passed by user. But from our GitHub code search we didn't find any user passing options different than their siteConfig to this function. If you are doing that, please open an issue and we can discuss the best way forward.
---
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
c46e4b784d
fix: hmr not updating page data in rewritten paths and file path is wrong in mdit for dynamic routes
...
closes #4172
1 year ago
Jeferson S. Brito
afc611d399
fix(theme,a11y): handle overflow on long mathematical equation and make tables focusable ( #3932 ) ( closes #3914 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
btea
cd5adf3011
feat: config file hot update error prints error message ( #3592 )
2 years ago
Divyansh Singh
862b4be867
refactor: remove legacy stuff
2 years ago
vanchKong
3052002b47
docs: add Chinese translations ( #2249 )
...
---------
Co-authored-by: Xavi Lee <awxiaoxian2020@163.com>
Co-authored-by: shellRaining <shellRaining@gmail.com>
Co-authored-by: Xavi Lee <xavilee2002@outlook.com>
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
arianrhodsandlot
6d89a08cb7
fix: print errors when importing an invalid dynamic route ( #3201 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
f4d4280d7d
feat(build): enable VUE_PROD_HYDRATION_MISMATCH_DETAILS when DEBUG is truthy
...
closes #422
2 years ago
Divyansh Singh
2958b8b839
chore: bump deps ( #3345 )
2 years ago
Divyansh Singh
c3d7f22bd3
fix(build): force assets to go through vite pipeline during dev too ( #3258 )
2 years ago
翠 / green
da73b58c79
fix: CSS missing after build ( #3217 )
...
closes #3216
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
翠 / green
d65afc2873
chore: make it work with rollup v4 ( #3065 )
2 years ago
Divyansh Singh
e84f31371e
fix(hmr): handle hmr in imported code snippets ( #3005 )
2 years ago
Divyansh Singh
0df88438c7
chore: update ssr.format condition to unblock vite ci
2 years ago
Divyansh Singh
7271a95948
feat: mathjax support ( #2977 )
2 years ago
Divyansh Singh
76e9fe86b2
Revert "fix(build): respect srcExclude in content loader" ( #2975 )
...
* Revert "fix(build): respect srcExclude in content loader (#2963 )"
This reverts commit 3023b5c76b .
* keep changes in dynamicRoutesPlugin.ts
2 years ago
huluobotx
3023b5c76b
fix(build): respect srcExclude in content loader ( #2963 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
1705c179df
chore: vite no longer emits assets on ssr by default
2 years ago
Divyansh Singh
47068ff0c5
revert: "perf: extract social icons as plugin to avoid unused icons" ( #2861 )
2 years ago
Divyansh Singh
e0be677554
fix: restart server on theme creation/deletion ( #2785 )
2 years ago
Divyansh Singh
0c8cf0df89
perf: extract social icons as plugin to avoid unused icons ( #2768 )
2 years ago
Divyansh Singh
b55b529f23
refactor: use stringified `deserializeFunctions` util ( #2733 )
2 years ago
Bjorn Lu
3f79f4bb6e
refactor: use rollup type from vite ( #2723 )
2 years ago
烽宁
64d7c3ba54
feat(build): support custom `assetsDir` ( #2497 )
2 years ago
Divyansh Singh
b2a129f49b
fix(build): add `@vue/devtools-api` to `optimizeDeps.include` ( #2543 )
2 years ago
Divyansh Singh
ae041448aa
refactor: improve error message on encountering dead links
...
fixes #2281
closes #2307
closes #2314
Co-authored-by: jd-solanki <jdsolanki0001@gmail.com>
Co-authored-by: Christian Georgi <christian.georgi@sap.com>
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
Divyansh Singh
713a35cbd0
feat!: organized search config ( #2218 )
3 years ago
Divyansh Singh
8059ec390a
chore: rename offline search to local search
3 years ago
Guillaume Chau
6c92675e33
feat: offline search ( #2110 )
...
Co-authored-by: Christian Georgi <chgeo@users.noreply.github.com>
3 years ago
Divyansh Singh
a681fd11e3
fix(build): remove extra line at end of code blocks ( #2191 )
3 years ago
Anthony Fu
3235c23313
feat: more flexible `ignoreDeadLinks` ( #2135 )
3 years ago
Divyansh Singh
7678a89358
revert: 456099a
3 years ago
Divyansh Singh
456099a527
test: restore tests for init command
3 years ago
Evan You
470ce3d3f3
fix: gracefully handle config update with syntax error
...
close #2041
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
905f58b2a8
fix: avoid circular dependency between siteData virtual module and useData()
...
close #2072
close #2073
close #2074
3 years ago
Guillaume Chau
192708de67
feat(theme): editLink can accept function ( #2058 )
3 years ago