web-infra-dev / rspack

A fast Rust-based web bundler 🦀️

Home Page:https://rspack.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature]: FormatJs plugin

huanghlun opened this issue · comments

What problem does this feature solve?

I used to use babel-loader and babel-plugin-formatjs to automatically inject formatted message ID. But when I use builtin:swc-loader, I don't know how to use this plugin.

The message ID is neccessary in react-intl.
intl-bug

What does the proposed API of configuration look like?

Is it possible for builtin:swc-loader to support plugins