feat: add --config-loader CLI option#9210
Conversation
✅ Deploy Preview for rspack canceled.
|
chenjiahan
left a comment
There was a problem hiding this comment.
Thank you for your contribution!
Since interpret is no longer maintained, Rspack will most likely replace interpret with other solutions in the future. Therefore we prefer a more general flag name.
How about --config-loader native? Both Rsbuild and Vite provides --config-loader native flag.
See:
CodSpeed Performance ReportMerging #9210 will not alter performanceComparing Summary
|
|
@chenjiahan sounds good, do I need to wait for someone else's opinion (from maintainers of this repo) or can I remake the option to |
|
You can remake the options first. |
|
@chenjiahan would it be more correct to use As I understand "native" means using |
--config-loader CLI option
|
@chenjiahan should I also update docs? |
|
That would be helpful 👍 |
|
@chenjiahan here is PR with some docs: #9291 |
Summary
According to my issue #9176 I prepare PR with implementation of
--disable-interpretCLI option.This CLI option is analogue of same option in Webpack.
For myself this option is wery helpful because in my projects I use tsimp as main loader for TS.
Checklist