Skip to content

Bump to Vite 8 - #155

Merged
xen0n merged 9 commits into
mainfrom
vite-8
Aug 16, 2026
Merged

xen0n merged 9 commits into
mainfrom
vite-8

Conversation

@xen0n

@xen0n xen0n commented Jul 24, 2026

Copy link
Copy Markdown
Member

No description provided.

@xen0n

xen0n commented Aug 9, 2026

Copy link
Copy Markdown
Member Author

I forgot to mention that I used a patched Node.js equivalent to nodejs/node#63731 in developing this. Fortunately the backport is shipped with Node.js 26.7.0+ (commit nodejs/node@8eeae28 for reference).

xen0n added 4 commits August 11, 2026 18:23
…26.7.0+

Previously I used a patched Node.js equivalent to [1] in developing the
Vite 8 build patchset, but forgot that the upstream loong64 Node.js could
not fully support the Vite 8 build due to incomplete JIT implementation.

Fortunately the backport is shipped with Node.js 26.7.0+ [2], which is
packaged in Alpine Linux Edge. Switch to Alpine Linux Edge to allow
continued CI testing of the loong64 build.

[1]: nodejs/node#63731
[2]: nodejs/node@8eeae28

x
This is consistently breaking builds since VitePress 2.0.0-alpha.19,
thanks to VitePress for at least providing a way out, short of NOT doing
the dubious memoization...
…tive`

Fixes the following build warning issued by Vite 8.2.1:

```plain
(!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite:
  - `__dirname` (.vitepress/config.mts:83:22). Use `import.meta.dirname` instead
  - import "../src/node/plugins/loongfans-data" resolves to a directory index (.vitepress/config.mts:9:27). Import the index file directly
  - import "./generateDatabase" without a file extension (src/node/plugins/loongfans-data/index.ts:4:35). Add the file extension
Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
```
@xen0n
xen0n merged commit 4c39f7b into main Aug 16, 2026
3 checks passed
@xen0n
xen0n deleted the vite-8 branch August 16, 2026 07:12

This branch was successfully deployed

1 active deployment
preview — 2376d5db Deployed Aug 11, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants