Skip to content

docs: fix build config loader warning - #10994

Merged
graphite-app[bot] merged 1 commit into
mainfrom
docs/build-config-loader-warning
Sep 25, 2026
Merged

graphite-app[bot] merged 1 commit into
mainfrom
docs/build-config-loader-warning

Conversation

@sapphi-red

Copy link
Copy Markdown
Member

Fixes the warnings output while building docs:

(!) 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:
  - import "../../packages/rolldown/src/cli/commands/help" without a file extension (data-loading/cli-help.data.ts:2:34). Add the file extension
  - named import from JSON module "../../../package.json" (../packages/rolldown/src/cli/commands/help.ts:1:10). JSON modules only provide a default export per spec. Use the default import and access the property
  - import "../../utils/style-text" without a file extension (../packages/rolldown/src/cli/commands/help.ts:2:27). Add the file extension
  - import "../arguments" resolves to a directory index (../packages/rolldown/src/cli/commands/help.ts:3:25). Import the index file directly
  - import "../logger" without a file extension (../packages/rolldown/src/cli/commands/help.ts:4:24). Add the file extension
  - import "../../utils/validator" without a file extension (../packages/rolldown/src/cli/arguments/index.ts:2:34). Add the file extension
  - import "../logger" without a file extension (../packages/rolldown/src/cli/arguments/index.ts:3:24). Add the file extension
  - import "./alias" without a file extension (../packages/rolldown/src/cli/arguments/index.ts:4:40). Add the file extension
  - import "./normalize" without a file extension (../packages/rolldown/src/cli/arguments/index.ts:5:64). Add the file extension
  - import "./utils" without a file extension (../packages/rolldown/src/cli/arguments/index.ts:6:38). Add the file extension
  - import "../log/logging" without a file extension (../packages/rolldown/src/utils/validator.ts:15:8). Add the file extension
  - import "../../options/input-options" without a file extension (../packages/rolldown/src/cli/arguments/alias.ts:1:38). Add the file extension
  - import "../../options/input-options" without a file extension (../packages/rolldown/src/cli/arguments/normalize.ts:5:35). Add the file extension
  - import "../options/input-options" without a file extension (../packages/rolldown/src/utils/validator.ts:24:8). Add the file extension
  - import "../../options/output-options" without a file extension (../packages/rolldown/src/cli/arguments/alias.ts:2:39). Add the file extension
  - import "../../options/output-options" without a file extension (../packages/rolldown/src/cli/arguments/normalize.ts:6:36). Add the file extension
  - import "../options/output-options" without a file extension (../packages/rolldown/src/utils/validator.ts:43:8). Add the file extension
  - import "../../utils/load-config" without a file extension (../packages/rolldown/src/cli/arguments/alias.ts:3:35). Add the file extension
  - import "../../utils/validator" without a file extension (../packages/rolldown/src/cli/arguments/normalize.ts:7:71). Add the file extension
  - import "../plugin" resolves to a directory index (../packages/rolldown/src/utils/validator.ts:44:71). Import the index file directly
  - import "../logger" without a file extension (../packages/rolldown/src/cli/arguments/normalize.ts:8:24). Add the file extension
  - import "../types/misc" without a file extension (../packages/rolldown/src/utils/validator.ts:45:78). Add the file extension
  - import "../../utils/load-config" without a file extension (../packages/rolldown/src/cli/arguments/normalize.ts:9:35). Add the file extension
  - import "../types/rolldown-output" without a file extension (../packages/rolldown/src/utils/validator.ts:46:36). Add the file extension
  - import "./alias" without a file extension (../packages/rolldown/src/cli/arguments/normalize.ts:10:33). Add the file extension
  - import "../types/utils" without a file extension (../packages/rolldown/src/utils/validator.ts:47:44). Add the file extension
  - import "./utils" without a file extension (../packages/rolldown/src/cli/arguments/normalize.ts:11:35). Add the file extension
  - import "./flatten-valibot-schema" without a file extension (../packages/rolldown/src/utils/validator.ts:48:38). Add the file extension
  - import "./style-text" without a file extension (../packages/rolldown/src/utils/validator.ts:49:27). Add the file extension
  - import ".." resolves to a directory index (../packages/rolldown/src/utils/validator.ts:58:8). Import the index file directly
Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.

I made https://github.com/sapphi-red/vite-native-config-migration-codemod and ran it.

sapphi-red commented Sep 25, 2026 •

Copy link
Copy Markdown
Member Author

Merge activity

  • Sep 25, 4:57 AM UTC: The merge label 'graphite: merge-when-ready' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Sep 25, 5:19 AM UTC: sapphi-red added this pull request to the Graphite merge queue.
  • Sep 25, 5:24 AM UTC: Merged by the Graphite merge queue.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Failed ❌

View logs ↗
5e1b9b9 2026-09-25T05:22:40.134Z View logs ↗
  • Build: Failed ❌

View logs ↗
90faa0d 2026-09-25T05:17:47.592Z View logs ↗
  • Build: Failed ❌

View logs ↗
0781d6a 2026-09-25T04:57:15.135Z View logs ↗

@netlify

netlify Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for rolldown-rs canceled.

Name Link
🔨 Latest commit 5e1b9b9
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/6ab6049feb84dd00088f8463

@shulaoda

Copy link
Copy Markdown
Member

Some failed CIs should be fixed

@sapphi-red
sapphi-red requested a review from h-a-n-a as a code owner September 25, 2026 05:16
Fixes the warnings output while building docs:
```
(!) 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:
  - import "../../packages/rolldown/src/cli/commands/help" without a file extension (data-loading/cli-help.data.ts:2:34). Add the file extension
  - named import from JSON module "../../../package.json" (../packages/rolldown/src/cli/commands/help.ts:1:10). JSON modules only provide a default export per spec. Use the default import and access the property
  - import "../../utils/style-text" without a file extension (../packages/rolldown/src/cli/commands/help.ts:2:27). Add the file extension
  - import "../arguments" resolves to a directory index (../packages/rolldown/src/cli/commands/help.ts:3:25). Import the index file directly
  - import "../logger" without a file extension (../packages/rolldown/src/cli/commands/help.ts:4:24). Add the file extension
  - import "../../utils/validator" without a file extension (../packages/rolldown/src/cli/arguments/index.ts:2:34). Add the file extension
  - import "../logger" without a file extension (../packages/rolldown/src/cli/arguments/index.ts:3:24). Add the file extension
  - import "./alias" without a file extension (../packages/rolldown/src/cli/arguments/index.ts:4:40). Add the file extension
  - import "./normalize" without a file extension (../packages/rolldown/src/cli/arguments/index.ts:5:64). Add the file extension
  - import "./utils" without a file extension (../packages/rolldown/src/cli/arguments/index.ts:6:38). Add the file extension
  - import "../log/logging" without a file extension (../packages/rolldown/src/utils/validator.ts:15:8). Add the file extension
  - import "../../options/input-options" without a file extension (../packages/rolldown/src/cli/arguments/alias.ts:1:38). Add the file extension
  - import "../../options/input-options" without a file extension (../packages/rolldown/src/cli/arguments/normalize.ts:5:35). Add the file extension
  - import "../options/input-options" without a file extension (../packages/rolldown/src/utils/validator.ts:24:8). Add the file extension
  - import "../../options/output-options" without a file extension (../packages/rolldown/src/cli/arguments/alias.ts:2:39). Add the file extension
  - import "../../options/output-options" without a file extension (../packages/rolldown/src/cli/arguments/normalize.ts:6:36). Add the file extension
  - import "../options/output-options" without a file extension (../packages/rolldown/src/utils/validator.ts:43:8). Add the file extension
  - import "../../utils/load-config" without a file extension (../packages/rolldown/src/cli/arguments/alias.ts:3:35). Add the file extension
  - import "../../utils/validator" without a file extension (../packages/rolldown/src/cli/arguments/normalize.ts:7:71). Add the file extension
  - import "../plugin" resolves to a directory index (../packages/rolldown/src/utils/validator.ts:44:71). Import the index file directly
  - import "../logger" without a file extension (../packages/rolldown/src/cli/arguments/normalize.ts:8:24). Add the file extension
  - import "../types/misc" without a file extension (../packages/rolldown/src/utils/validator.ts:45:78). Add the file extension
  - import "../../utils/load-config" without a file extension (../packages/rolldown/src/cli/arguments/normalize.ts:9:35). Add the file extension
  - import "../types/rolldown-output" without a file extension (../packages/rolldown/src/utils/validator.ts:46:36). Add the file extension
  - import "./alias" without a file extension (../packages/rolldown/src/cli/arguments/normalize.ts:10:33). Add the file extension
  - import "../types/utils" without a file extension (../packages/rolldown/src/utils/validator.ts:47:44). Add the file extension
  - import "./utils" without a file extension (../packages/rolldown/src/cli/arguments/normalize.ts:11:35). Add the file extension
  - import "./flatten-valibot-schema" without a file extension (../packages/rolldown/src/utils/validator.ts:48:38). Add the file extension
  - import "./style-text" without a file extension (../packages/rolldown/src/utils/validator.ts:49:27). Add the file extension
  - import ".." resolves to a directory index (../packages/rolldown/src/utils/validator.ts:58:8). Import the index file directly
Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.
```
I made https://github.com/sapphi-red/vite-native-config-migration-codemod and ran it.
@graphite-app
graphite-app Bot force-pushed the docs/build-config-loader-warning branch from 90faa0d to 5e1b9b9 Compare September 25, 2026 05:20
@graphite-app
graphite-app Bot merged commit 5e1b9b9 into main Sep 25, 2026
35 of 36 checks passed
@graphite-app
graphite-app Bot deleted the docs/build-config-loader-warning branch September 25, 2026 05:24
graphite-app Bot pushed a commit that referenced this pull request Sep 25, 2026
@rolldown-guard rolldown-guard Bot mentioned this pull request Sep 30, 2026
shulaoda added a commit that referenced this pull request Sep 30, 2026
## [1.2.12] - 2026-09-30

### 🚀 Features

- inline common chunks containing import() and deduplicate shared code in lazy chunks (#11034) by @hyfdev
- experimental `inlineCommonChunks` support (#10899) by @hyfdev
- dev: ship imported bindings for HMR partial accept (#10856) by @h-a-n-a

### 🐛 Bug Fixes

- chunking: re-derive chunk exec orders after the runtime leaves its host chunk (#11005) by @hyfdev
- code-splitting: gate member-read init paths on the reading statement (#11039) by @hyfdev
- code-splitting: retain initialization paths through re-exported namespaces (#11037) by @hyfdev
- dev: reject non-ESM output formats in dev mode (#11038) by @h-a-n-a
- dev: align `import.meta.hot.accept` deps with Vite (#10997) by @h-a-n-a
- dev: clear the resolver cache when a file is created or deleted (#10986) by @waltuov
- error: name the resolved specifier in unresolved import diagnostics (#11014) by @linyiru
- make entries-aware chunk merging deterministic (#11002) by @hyfdev
- watch: avoid restarting macOS watcher for unchanged paths (#10992) by @sep2

### 🚜 Refactor

- dev: ship the dev runtime entry as one file (#10998) by @h-a-n-a
- binding: remove `__internalForcePanic` (#10989) by @IWANABETHATGUY

### 📚 Documentation

- fix cloudflare preview builds (#10996) by @sapphi-red
- fix build config loader warning (#10994) by @sapphi-red
- deps: use Vite 8 (#10993) by @sapphi-red

### ⚡ Performance

- dev: only ship rows with dynamic edges in registerGraph (#11019) by @h-a-n-a

### 🧪 Testing

- code-splitting: cover more re-exported namespace shapes (#11042) by @hyfdev
- webcontainer: cover the WebContainer download fallback in plain Node (#10966) by @shulaoda
- dev: pin the runtime entry file layout that Vite serves (#10983) by @h-a-n-a

### ⚙️ Miscellaneous Tasks

- pin VOID_API_URL for the docs deploy (#11041) by @shulaoda
- opt into the WebContainer smoke test for napi bumps and loader changes (#10967) by @shulaoda
- deps: upgrade oxc to 0.152.0 (#11018) by @camc314
- deps: update rust crates (#11012) by @renovate[bot]
- deps: update npm packages (#11011) by @renovate[bot]
- deps: update crate-ci/typos action to v1.50.3 (#11023) by @renovate[bot]
- deps: update test262 submodule for tests (#11022) by @rolldown-guard[bot]
- deps: update rollup submodule for tests to v4.63.5 (#11021) by @rolldown-guard[bot]
- deps: update dependency vite-plus to v1 (#11017) by @renovate[bot]
- deps: update github actions (#11010) by @renovate[bot]
- remove `CLAUDE.md` (#10925) by @iiio2
- verify release debug info by matching file IDs (#10988) by @IWANABETHATGUY
- deps: update rollup submodule for tests to v4.63.4 (#10940) by @rolldown-guard[bot]

### ❤️ New Contributors

* @waltuov made their first contribution in [#10986](#10986)
* @linyiru made their first contribution in [#11014](#11014)
* @sep2 made their first contribution in [#10992](#10992)

Co-authored-by: shulaoda <[email protected]>

This branch had an error being deployed

1 failed deployment
void — 5e1b9b91 Deployed Sep 25, 2026 by graphite-app[bot] via Deploy to Void #4955
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