Divyansh Singh
d963e6ce0e
refactor: return the task callback result
...
Lets bundle() receive the build outputs from the spinner-wrapped
callback directly instead of smuggling them through outer let
bindings with a definite-assignment assertion.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
7 days ago
Divyansh Singh
343aa13b68
build: emit ads chunks with hash-only filenames
...
A fixed ui-custom name still gives adblock filter lists a stable
string to match on. Emit the Carbon/BuySellAds chunks with just the
content hash instead. Changes the emitted filenames for those chunks
and, transitively, the hashes of chunks that import them.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
7 days ago
Divyansh Singh
fdd68e37a7
perf(build): reuse lastUpdated from markdown rendering in sitemap generation
...
Previously generateSitemap re-read and re-parsed every source file to
compute lastmod, reconstructing source paths from URLs. The transform
hook now records the already-computed pageData.lastUpdated per page,
keyed by its rewrite-applied relativePath. Dynamic route pages now get
a lastmod too (from their route template), which the old file lookup
could not resolve.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 week ago
Divyansh Singh
20a7cb7a5f
chore: bump deps
...
closes #5226
1 week ago
Bjorn Lu
3868b64e41
feat: auto-add width/height to local images to avoid layout shift ( #5311 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
3 weeks ago
Divyansh Singh
9315fc1822
fix: disable pluginTimings and invalidAnnotation for now
4 weeks 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
翠
4351bc0b83
fix: set `preserveEntrySignatures` for rolldown-vite ( #4784 )
1 year ago
Artea
16a0ff895c
chore: use rolldown-vite ( #4769 )
...
---------
Signed-off-by: Artea <sepush@outlook.com>
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
翠
4e3fce40c9
fix: skip fields not supported by rolldown for rolldown-vite ( #4747 )
1 year ago
Divyansh Singh
21f24b9994
fix(build): avoiding creating separate chunks for vite public assets
1 year ago
Divyansh Singh
9b5c0377cd
fix(build): `--minify` not working as documented
...
closes #4523
2 years ago
Divyansh Singh
36bde803c8
chore: maintenance and cleanup
2 years ago
Divyansh Singh
241d17d983
fix: out of order css in prod builds
...
closes #4098
2 years ago
Divyansh Singh
fa81e89643
refactor: consistent type assertion
2 years ago
Divyansh Singh
e302328a4c
fix(build): sort pageToHashMap to ensure stable assets
...
closes #4016
2 years ago
Divyansh Singh
a6cd891d95
fix: fix theme chunking logic causing out-of-order styles ( #3403 )
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
6cf1de5e9e
fix(mpa): properly emit assets in mpa mode ( #3115 )
3 years ago
awkweb
6960ec1cf6
feat(theme): export VPButton and VPSponsors ( #2767 )
3 years ago
Divyansh Singh
1bed154612
feat(build): allow overriding vite config loading ( #2750 )
3 years ago
Bjorn Lu
3f79f4bb6e
refactor: use rollup type from vite ( #2723 )
3 years ago
Divyansh Singh
17378c064f
fix(build): make outDir from cli work properly
...
closes #2716
3 years ago
Divyansh Singh
5563695b15
feat: sitemap generation ( #2691 )
3 years ago
Divyansh Singh
08c4bacac5
fix(compat): disable stdin-discarder ( #2640 )
3 years ago
烽宁
64d7c3ba54
feat(build): support custom `assetsDir` ( #2497 )
3 years ago
Divyansh Singh
32d65d40c5
perf: fix race conditions with cache ( #2579 )
3 years ago
烽宁
6d7d195adc
perf: parallelize mpa chunks copy ( #2389 )
3 years ago
Joaquín Sánchez
a647cd3843
feat: preserve user log level ( #2310 )
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
Evan You
bed202dbcc
fix: fix chunking logic that causes breakage
...
follow up of 905f58b
fix #2072
fix #2073
fix #2074
fix #2075
3 years ago
Evan You
f6cb4c0d44
perf: improve default theme chunking
3 years ago
Evan You
22047f3363
fix: respect command line minify and outDir options
3 years ago
Evan You
34b149ba25
wip: rewrites for dynamic routes
3 years ago
Evan You
80fb3b0e98
wip: prod build for dynamic routes
3 years ago
Divyansh Singh
00abac6116
feat(build): support rewrites ( #1798 )
...
Co-authored-by: Kia Ishii <kia.king.08@gmail.com>
4 years ago
Matteo Bilotta
4ac8c0482f
types: strong separation between `import` and `import type` ( #1756 )
4 years ago
Shigma
f899764bad
feat(build): support `cacheDir` ( #1355 )
4 years ago
Divyansh Singh
8601e1596b
fix(build): explicitly specify asset and entry file names ( #1607 )
4 years ago
Azat S
7955760972
types: improve coverage ( #1585 )
...
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
Divyansh Singh
18f0fb4e39
revert: "fix(build): remove leading underscore from chunks" ( #1471 )
...
This reverts commit 66cd1640d1 .
4 years ago
Divyansh Singh
66cd1640d1
fix(build): remove leading underscore from chunks ( #1394 )
4 years ago