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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Plugin] feat: add overrideLoaderList to webpack plugin #1382

Merged
merged 2 commits into from Jan 13, 2023

Conversation

DaiQiangReal
Copy link
Collaborator

中文模板 / Chinese Template

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Test Case
  • TypeScript definition update
  • Document improve
  • CI/CD improve
  • Branch sync
  • Other, please describe:

PR description

Fixes #

Changelog

🇨🇳 Chinese

  • Feat: webpack 插件新增 overrideLoaderList 选项,支持更细粒度自定义 semi 相关样式所用 loaders

🇺🇸 English

  • Feat: The webpack plugin adds an overrideLoaderList option to support finer-grained customization of the loaders used in semi-related styles

Checklist

  • Test or no need
  • Document or no need
  • Changelog or no need

Other

  • Skip Changelog

Additional information

@DaiQiangReal DaiQiangReal changed the base branch from main to release January 12, 2023 08:55
@@ -17,7 +17,9 @@ export interface SemiWebpackPluginOptions {
include?: string;
omitCss?: boolean;
webpackContext?: WebpackContext;
extractCssOptions?: ExtractCssOptions
extractCssOptions?: ExtractCssOptions;
overrideStylesheetLoaders?:(loaders:any[])=>any[]
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里名称加了个 sheet 是为了防止用户读成 styleLoader,造成误会

@pointhalo pointhalo merged commit e724acf into release Jan 13, 2023
@pointhalo pointhalo deleted the overrideLoaderList branch January 13, 2023 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants