Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for Rule.loader and Rule.options #3246

Merged
merged 1 commit into from
May 22, 2023
Merged

Conversation

h-a-n-a
Copy link
Collaborator

@h-a-n-a h-a-n-a commented May 22, 2023

Related issue (if exists)

Summary

馃 Generated by Copilot at 6afdcd2

Add support for loader and options properties in webpack module rules. This simplifies the user syntax and improves the type safety and readability of the configuration code. The changes affect the RuleSetRule interface in packages/rspack/src/config/types.ts and the getRawModuleRule function in packages/rspack/src/config/adapter.ts.

Walkthrough

馃 Generated by Copilot at 6afdcd2

  • Add support for loader and options properties in webpack module rules (link, link)

@h-a-n-a h-a-n-a requested a review from hardfist as a code owner May 22, 2023 07:03
@h-a-n-a h-a-n-a requested a review from ahabhgk May 22, 2023 07:03
@github-actions github-actions bot added release: feature team The issue/pr is created by the member of Rspack. labels May 22, 2023
@h-a-n-a h-a-n-a changed the title feat: add support for Rule.loader and Rule.options feat: add support for Rule.loader and Rule.options May 22, 2023
@h-a-n-a h-a-n-a enabled auto-merge May 22, 2023 07:06
@h-a-n-a h-a-n-a added this pull request to the merge queue May 22, 2023
Merged via the queue into main with commit 76cbcdb May 22, 2023
18 checks passed
@h-a-n-a h-a-n-a deleted the feat/rule-loader branch May 22, 2023 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants