Skip to content

Commit

Permalink
fix: support https in speedup mode (#6879)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClarkXia authored May 7, 2024
1 parent e78c7d2 commit e858a52
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/strong-zoos-applaud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ice/rspack-config': patch
---

fix: support cli option `https` for speedup mode
2 changes: 2 additions & 0 deletions packages/rspack-config/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ const getConfig: GetConfig = async (options) => {
redirectImports,
fastRefresh,
sourceMap,
https,
} = taskConfig || {};
const isDev = mode === 'development';
const absoluteOutputDir = path.isAbsolute(outputDir) ? outputDir : path.join(rootDir, outputDir);
Expand Down Expand Up @@ -306,6 +307,7 @@ const getConfig: GetConfig = async (options) => {
client: {
logging: 'info',
},
https,
...devServer,
setupMiddlewares: middlewares,
},
Expand Down

0 comments on commit e858a52

Please sign in to comment.