Divyansh Singh
e6ba9d8caa
fix(build): don't rely on checkout directory name when externalizing types
...
The `typesExternal` regex matched the absolute build path against
`/vitepress/`, so repo-root `.d.ts` files (types/*) were only kept
external when the repo was checked out in a directory named "vitepress".
When built elsewhere, `DefaultTheme` got inlined into
`dist/node/index.d.ts`, orphaning the `declare module` augmentations
from `defaultTheme.ts` and breaking node-only options like
`search.options._render` (regressed in v2.0.0-alpha.18).
Compare paths resolved against this config's directory instead,
normalized for separators and drive-letter casing so it also works on
windows.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
3 weeks ago
Divyansh Singh
1ade7bd422
refactor: migrate scripts to typescript and organize imports
1 month ago
Divyansh Singh
228eef187a
feat!: migrate to vite 8
1 month ago
Divyansh Singh
5bf835b507
fix(types): externalize markdown-it types
...
ref: https://github.com/boyum/markdown-it-image-size/issues/888#issuecomment-3172653892
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
Divyansh Singh
1ec648ab61
chore: fix broken types in github action builds ( #4701 )
1 year ago
Anthony Fu
80622356f1
feat: use `markdown-it-async`, remove `synckit` ( #4507 )
...
BREAKING CHANGES: markdown-it-async is used instead of markdown-it
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
36bde803c8
chore: maintenance and cleanup
2 years ago
Joaquín Sánchez
564907152e
chore: fix Windows build ( #4358 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
829977876a
perf: lazy load shiki languages ( #4326 )
2 years ago
Divyansh Singh
620ee6ac4b
chore: bump deps, fix dts generation ( #3856 )
2 years ago
Divyansh Singh
8b10848810
build: improve types ( #3009 )
3 years ago
Divyansh Singh
7271a95948
feat: mathjax support ( #2977 )
3 years ago
Divyansh Singh
6e41cadf30
chore: fix build
3 years ago
Divyansh Singh
cecc47da11
fix(deps): bundle vite-plugin-vue - two vite versions being installed
3 years ago
Divyansh Singh
db17df336e
chore!: bump deps ( #2852 )
3 years ago
Divyansh Singh
b2f671ab3b
chore(build)!: drop node 16 support ( #2744 )
3 years ago
Divyansh Singh
9df8adb53e
chore(build)!: drop cjs api ( #2737 )
3 years ago
CHOYSEN
35a17601d8
chore: generate sourcemap in dev ( #1920 )
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
Divyansh Singh
ae33896a32
feat(build): switch to rollup 3 and vite 4 ( #1591 )
4 years ago
Divyansh Singh
12591a9487
feat: bundle type definitions of dev-deps ( #1257 )
4 years ago
Divyansh Singh
5c3e6d1088
refactor: polyfill punycode ( #1244 )
4 years ago
Divyansh Singh
82565178a7
refactor: remove punycode from externals
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