flow-proxy-middleware
> 本中间件是对http-proxy-middleware的封装,能够实现webpack的proxy写法
Last updated 2 years ago by cluas .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install flow-proxy-middleware 
SYNC missed versions from official npm registry.

基于webpack代理机制的中间件

本中间件是对http-proxy-middleware的封装,能够实现webpack的proxy写法

安装

npm install --save-dev flow-proxy-middleware

使用方法

const flowProxyMiddleware = require("flow-proxy-middleware");

cont flowConfig = require("./flow.config.js");

app.use(flowProxyMiddlware(flowConfig.dev.proxy));

Current Tags

  • 0.1.1                                ...           latest (2 years ago)

2 Versions

  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 2
Last Day 1
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |