opened
dingyanqiang
username_0
### 期望目标，目标文件大小应该为减去dll.js的内容。
### 实际效果，build:dll应用前后目标文件大小一样
### build:dll问题
``` javascript
dllPlugin: {
    exclude: ["babel-runtime", "roadhog"],
    include: ["dva/router", "dva/saga", "dva/fetch"]
}
```
### npm run build:dll 打包出的roadhog.dll.js
### npm run build (文件大小和不用dll一样大)
* 
```javascript
"scripts": {
    "start": "roadhog server",
    "build": "roadhog build",
    "build:dll": "roadhog buildDll",
    "lint": "eslint --ext .js src test"
  }

 dllPlugin: {
    exclude: ["babel-runtime", "roadhog"],
    include: ["dva/router", "dva/saga", "dva/fetch"]
  }
```
```
  159.93 KB  dist/index.js
  120.35 KB  dist/zhanling.js
  8.25 KB    dist/index.css
  5.01 KB    dist/zhanling.css

```
dva 1.2.x版本 dll应用无效
issue
created
sorrycc
username_1
roadhog 里的 dll 只对 server 有效。
comment
closed
sorrycc
username_1
issue
created
dingyanqiang
username_0
comment
created
dingyanqiang
username_0
comment
created
sorrycc
username_1
不用是啥版本，dll 目前只在 server 里有效。
comment
created
dingyanqiang
username_0
OK
comment