Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add
dataurl
in json config syntax. (rolldown#1536)
I am sorry for appearing here with "faint" modifications :( and forgot to configure the `DataURL` in several places. - `crates/rolldown_common/src/inner_bundler_options/types/module_type.rs`: add `"dataurl" => Ok(Self::Dataurl)` for implementing `FromStr`. - `packages/rolldown/src/options/input-options.ts`: add `dataurl` for the config file and remove the duplicated `empty` loader. And I sorted the options in the file above following the enum definition in `module_type.rs`. I am sure that I will create more technical pull requests ahead :) By the way, since the academic exam has ended, I am now willing to contribute more :)
- Loading branch information