Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Support yaml and toml #821

Open
SoonIter opened this issue Mar 6, 2025 · 0 comments
Open

[Feature]: Support yaml and toml #821

SoonIter opened this issue Mar 6, 2025 · 0 comments

Comments

@SoonIter
Copy link
Member

SoonIter commented Mar 6, 2025

What problem does this feature solve?

Image

we currently have already supported json. Yaml, toml can be supported in same way but it is not documented right now

What does the proposed API look like?

https://rsbuild.dev/guide/basic/json-files#yaml-file

https://lib.rsbuild.dev/zh/guide/advanced/json-files

// rslib.config.ts
import { pluginYaml } from '@rsbuild/plugin-yaml';

plugins: [pluginYaml()]
  1. support yaml by pluginYaml
  2. support toml by pluginToml

:) Looking forward to someone kind to bring it to fruition. Maybe in two pr with test cases and documents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant