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(umi-build-dev): improve proxy #547

Merged
merged 2 commits into from
May 25, 2018
Merged

feat(umi-build-dev): improve proxy #547

merged 2 commits into from
May 25, 2018

Conversation

sorrycc
Copy link
Member

@sorrycc sorrycc commented May 25, 2018

  • implement proxy middleware in umi and put it before mock middleware
  • proxy hot reload, don't need to restart dev server

Close #492

@sorrycc sorrycc merged commit eb65177 into master May 25, 2018
@sorrycc sorrycc deleted the refact/improve-proxy branch May 25, 2018 07:27
@coveralls
Copy link

coveralls commented May 25, 2018

Pull Request Test Coverage Report for Build 497

  • 0 of 77 (0.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.7%) to 20.676%

Changes Missing Coverage Covered Lines Changed/Added Lines %
packages/umi-build-dev/src/plugins/afwebpack-config.js 0 6 0.0%
packages/umi-build-dev/src/plugins/proxy.js 0 71 0.0%
Totals Coverage Status
Change from base Build 492: -0.7%
Covered Lines: 487
Relevant Lines: 2588

💛 - Coveralls

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.

2 participants