zhufengnodejs

Results 1 issues of zhufengnodejs

## 1. webpack.config.js中changeOrigin是什么意思 ``` diff proxy: [ { path: /^\/api\/(.*)/, target: "http://localhost:8080/", rewrite: rewriteUrl('/$1\.json'), + changeOrigin: true } ] ``` ## 2. 在scripts中写命令的时候是不是可以直接写当前node_modules下面的命令? 有些地方是这个写的,要从当前路径出发寻找webpack-dev-server ``` "scripts": { "dev": "./node_modules/.bin/webpack-dev-server --progress...