-
-
Notifications
You must be signed in to change notification settings - Fork 57
Labels
Description
What problem does this feature solve?
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()]- support yaml by
pluginYaml - support toml by
pluginToml
:) Looking forward to someone kind to bring it to fruition. Maybe in two pr with test cases and documents