Skip to content

[Feature]: Support yaml and toml #821

@SoonIter

Description

@SoonIter

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions