We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
webpack devServer 服务想支持 https 配置,我在 config 的 devServer 中配置了相应的 https 配置,但是实际在beidou-webpack插件中做转发的时候,写死了http, 导致实际没有符合预期。
是否可以在 beidou-webpack/app/middleware/webpack.js 中支持根据传入的配置生成转发地址,比如:
const { devServer: { https = false } } = options const originUrl = `${https ? 'https://' : 'http://'}${ctx.host}${ctx.request.url}`; const url = new URL(originUrl); url.set('port', app.webpackServerPort); const webpackUrl = url.href;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
webpack devServer 服务想支持 https 配置,我在 config 的 devServer 中配置了相应的 https 配置,但是实际在beidou-webpack插件中做转发的时候,写死了http, 导致实际没有符合预期。
是否可以在 beidou-webpack/app/middleware/webpack.js 中支持根据传入的配置生成转发地址,比如:
The text was updated successfully, but these errors were encountered: