ice icon indicating copy to clipboard operation
ice copied to clipboard

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

Open AlbertXiao1994 opened this issue 3 years ago • 0 comments

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

AlbertXiao1994 avatar Jan 16 '23 06:01 AlbertXiao1994