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

feat: check the targets and compatible browserslist #3391

Merged
merged 3 commits into from
Aug 6, 2020

Conversation

chenbin92
Copy link
Collaborator

  • 检测 targets 配置项并提示使用 browserlist 替代,

image

@chenbin92 chenbin92 requested review from ClarkXia and SoloJiang August 4, 2020 16:26
@@ -68,3 +75,42 @@ function initGenerator(api, options) {
log
});
}

function checkTargets(targets) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

校验可以统一收敛在注册配置中

@chenbin92 chenbin92 merged commit 996837d into feat/v2 Aug 6, 2020
@delete-merged-branch delete-merged-branch bot deleted the feat/check-targets-and-browserlist branch August 6, 2020 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants