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(af-webpack): support umi dev with https server #322

Merged
merged 4 commits into from
Apr 13, 2018

Conversation

gaokai
Copy link
Contributor

@gaokai gaokai commented Apr 12, 2018

  1. HTTPS=true roadhog dev
  2. HTTPS=true contentBase=./ roadhog dev ( contentBase is static folder, eg1: demo/index.html )

how to use https server: 
```
HTTPS=true CONTENTBASE=./ roadhog server
```sh
@coveralls
Copy link

coveralls commented Apr 12, 2018

Pull Request Test Coverage Report for Build 175

  • 0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 4.574%

Totals Coverage Status
Change from base Build 173: 0.0%
Covered Lines: 79
Relevant Lines: 1707

💛 - Coveralls

@sorrycc
Copy link
Member

sorrycc commented Apr 12, 2018

CONTENTBASE should be CONTENT_BASE

@sorrycc
Copy link
Member

sorrycc commented Apr 12, 2018

看了下 webpack-dev-server 的实现,直接这样加配置项就好了。

https: process.env.HTTPS,
contentBase: process.env.CONTENT_BASE,

@sorrycc sorrycc merged commit 083fc91 into umijs:master Apr 13, 2018
@sorrycc sorrycc changed the title run https server feat: support umi dev with https server Apr 13, 2018
@sorrycc sorrycc changed the title feat: support umi dev with https server feat(af-webpack): support umi dev with https server Apr 13, 2018
sorrycc pushed a commit that referenced this pull request Jun 23, 2022
* refactor(auto-css-module): extract swc auto css modules ext constants

* feat(bundle-webpack): support use esbuild transform source

* chore(mfsu): await import babel plugin options independent

* feat(esbuild): add auto css module for esbuild transpiler

* feat(mfsu): add auto export and await import for esbuild

* fix(type): tsc

* chore(mfsu-example): add mfsu independent with esbuild transpiler case
xierenyuan pushed a commit to xierenyuan/umi that referenced this pull request Jun 23, 2022
* refactor(auto-css-module): extract swc auto css modules ext constants

* feat(bundle-webpack): support use esbuild transform source

* chore(mfsu): await import babel plugin options independent

* feat(esbuild): add auto css module for esbuild transpiler

* feat(mfsu): add auto export and await import for esbuild

* fix(type): tsc

* chore(mfsu-example): add mfsu independent with esbuild transpiler case
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants