web-infra-dev / modern.js

A progressive web framework based on React and Rsbuild.
https://modernjs.dev/en/
MIT License
4.46k stars 368 forks source link

[Feature]: rspack support source.include and source.exclude #4618

Closed thinkeyy closed 1 year ago

thinkeyy commented 1 year ago

这个功能解决了什么问题?

https://github.com/web-infra-dev/rspack/issues/3067 rspack allready supported builtin:swc-loader,Whether to consider support this feature?

你期望的 API 是什么样子的?

source.include ; source.exclude

chenjiahan commented 1 year ago

Yes, we will be implementing source.include and source.exclude soon.

@9aoy Can you share the design and planning for this?

9aoy commented 1 year ago

@thinkey-yang I wrote an RFC about this and we'll be putting it into development this week. https://github.com/web-infra-dev/modern.js/discussions/4620

chenjiahan commented 1 year ago

Supported in latest Rsbuild version: https://github.com/web-infra-dev/rsbuild

We will integrate Rsbuild to Modern.js in a few weeks.

thinkeyy commented 1 year ago

so, Modern.js Builder no longer maintains rspack

chenjiahan commented 1 year ago

Modern.js Builder is renamed to Rsbuild, you can think of it as the next version of Modern.js Builder.