[PR #547] [CLOSED] fix(vite-8): remove deprecated Rollup config options for Vite 8/Rolldown #664

Closed
opened 2026-05-06 13:09:24 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/cloudflare/vinext/pull/547
Author: @yunus25jmi1
Created: 3/15/2026
Status: Closed

Base: mainHead: fix/vite-8-deprecated-warnings-540


📝 Commits (10+)

  • 506d825 fix: serve static HTML files from public/ after rewrites (issue #199)
  • 7d3786f Merge remote-tracking branch 'upstream/main' into fix/issue-199-rewrites
  • cc56d2c address bonk review: hoist resolvedPublicDir, log non-ENOENT errors, add wasm MIME type, document leading-slash assumption
  • c4835ee address bonk review: hoist __publicDir to module scope, add fallback rewrite static file tests
  • 945b9cc fix: use path.resolve for publicDir consistency with index.ts
  • a6852a1 Update packages/vinext/src/index.ts
  • e629695 Update packages/vinext/src/index.ts
  • a9013cd Merge upstream/main into fix/issue-199-rewrites
  • cab6115 fix syntax errors in merge resolution
  • e30bd8b fix: update snapshots and formatting for static file serving feature

📊 Changes

16 files changed (+678 additions, -45 deletions)

View changed files

📝 packages/vinext/src/cli.ts (+7 -3)
📝 packages/vinext/src/entries/app-rsc-entry.ts (+51 -1)
📝 packages/vinext/src/index.ts (+118 -10)
packages/vinext/src/server/mime.ts (+47 -0)
📝 packages/vinext/src/server/prod-server.ts (+26 -24)
📝 tests/__snapshots__/entry-templates.test.ts.snap (+259 -7)
📝 tests/app-router.test.ts (+60 -0)
📝 tests/fixtures/app-basic/next.config.ts (+6 -0)
tests/fixtures/app-basic/public/auth/no-access.html (+9 -0)
tests/fixtures/app-basic/public/fallback-page.html (+10 -0)
tests/fixtures/app-basic/public/static-html-page.html (+10 -0)
📝 tests/fixtures/pages-basic/next.config.mjs (+15 -0)
tests/fixtures/pages-basic/public/auth/no-access.html (+9 -0)
tests/fixtures/pages-basic/public/fallback-page.html (+10 -0)
tests/fixtures/pages-basic/public/static-html-page.html (+10 -0)
📝 tests/pages-router.test.ts (+31 -0)

📄 Description

Fixes #540


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cloudflare/vinext/pull/547 **Author:** [@yunus25jmi1](https://github.com/yunus25jmi1) **Created:** 3/15/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/vite-8-deprecated-warnings-540` --- ### 📝 Commits (10+) - [`506d825`](https://github.com/cloudflare/vinext/commit/506d82567dbacd61e4f4d3f66f1d3cbbddd845d7) fix: serve static HTML files from public/ after rewrites (issue #199) - [`7d3786f`](https://github.com/cloudflare/vinext/commit/7d3786fbc5beb25e1b9448d38e2bd3af9e8fe5b4) Merge remote-tracking branch 'upstream/main' into fix/issue-199-rewrites - [`cc56d2c`](https://github.com/cloudflare/vinext/commit/cc56d2c88376eada0a0ac22b8a194e5a6b6d97e3) address bonk review: hoist resolvedPublicDir, log non-ENOENT errors, add wasm MIME type, document leading-slash assumption - [`c4835ee`](https://github.com/cloudflare/vinext/commit/c4835eedf9b9eaa0128edbdb6c06872e9a6fa2ad) address bonk review: hoist __publicDir to module scope, add fallback rewrite static file tests - [`945b9cc`](https://github.com/cloudflare/vinext/commit/945b9cc3e97a544425ff25acdbc0d8f8fdbc4817) fix: use path.resolve for publicDir consistency with index.ts - [`a6852a1`](https://github.com/cloudflare/vinext/commit/a6852a165da68309b8711de81920bab9529cc042) Update packages/vinext/src/index.ts - [`e629695`](https://github.com/cloudflare/vinext/commit/e6296958665839162cda9b4497af1e0e87dbdfdc) Update packages/vinext/src/index.ts - [`a9013cd`](https://github.com/cloudflare/vinext/commit/a9013cdb60dc624c4b9d23e15b9cc6cf58ff495e) Merge upstream/main into fix/issue-199-rewrites - [`cab6115`](https://github.com/cloudflare/vinext/commit/cab61157330704583a5599b7b1a0618ce95d14dc) fix syntax errors in merge resolution - [`e30bd8b`](https://github.com/cloudflare/vinext/commit/e30bd8b016b630fca7aae5167b8727009ce490dd) fix: update snapshots and formatting for static file serving feature ### 📊 Changes **16 files changed** (+678 additions, -45 deletions) <details> <summary>View changed files</summary> 📝 `packages/vinext/src/cli.ts` (+7 -3) 📝 `packages/vinext/src/entries/app-rsc-entry.ts` (+51 -1) 📝 `packages/vinext/src/index.ts` (+118 -10) ➕ `packages/vinext/src/server/mime.ts` (+47 -0) 📝 `packages/vinext/src/server/prod-server.ts` (+26 -24) 📝 `tests/__snapshots__/entry-templates.test.ts.snap` (+259 -7) 📝 `tests/app-router.test.ts` (+60 -0) 📝 `tests/fixtures/app-basic/next.config.ts` (+6 -0) ➕ `tests/fixtures/app-basic/public/auth/no-access.html` (+9 -0) ➕ `tests/fixtures/app-basic/public/fallback-page.html` (+10 -0) ➕ `tests/fixtures/app-basic/public/static-html-page.html` (+10 -0) 📝 `tests/fixtures/pages-basic/next.config.mjs` (+15 -0) ➕ `tests/fixtures/pages-basic/public/auth/no-access.html` (+9 -0) ➕ `tests/fixtures/pages-basic/public/fallback-page.html` (+10 -0) ➕ `tests/fixtures/pages-basic/public/static-html-page.html` (+10 -0) 📝 `tests/pages-router.test.ts` (+31 -0) </details> ### 📄 Description Fixes #540 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 13:09:24 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vinext#664
No description provided.