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

无法通过插件机制配置 devServer 的 https、host、port 等值 #5823

Closed
AlbertXiao1994 opened this issue Jan 16, 2023 · 0 comments
Closed
Assignees
Labels

Comments

@AlbertXiao1994
Copy link
Contributor

Describe the bug

【问题描述】
通过插件机制配置的 devServer 的 https、host、port 等值,会被默认值覆盖,100% 复现。

【问题原因】
在 @ice/app 的实现中,来自命令行的默认值会覆盖 webpackConfig
image

Expected behavior

插件的优先级高于命令行参数的默认值

Actual behavior

No response

Version of ice.js

3.0.6

Content of build.json or ice.config.mts

No response

Additional context

No response

@ClarkXia ClarkXia self-assigned this Jan 16, 2023
@ClarkXia ClarkXia mentioned this issue Feb 7, 2023
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants