Skip to content

Commit fca2993

Browse files
Add webpack rc0 new conf
1 parent 721a59e commit fca2993

File tree

3 files changed

+181
-135
lines changed

3 files changed

+181
-135
lines changed

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@
2525
"dependencies": {
2626
"fastclick": "^1.0.6",
2727
"flow": "^0.2.3",
28-
"vue": "^2.1.4",
28+
"vue": "^2.1.6",
2929
"vue-router": "^2.1.1",
3030
"whatwg-fetch": "^2.0.1"
3131
},
3232
"devDependencies": {
33-
"autoprefixer": "^6.5.2",
34-
"babel-core": "^6.18.2",
33+
"autoprefixer": "^6.5.4",
34+
"babel-core": "^6.20.0",
3535
"babel-eslint": "^7.1.0",
3636
"babel-helper-vue-jsx-merge-props": "^2.0.2",
37-
"babel-loader": "^6.2.7",
37+
"babel-loader": "^6.2.10",
3838
"babel-plugin-syntax-jsx": "^6.18.0",
3939
"babel-plugin-transform-runtime": "^6.15.0",
4040
"babel-plugin-transform-vue-jsx": "^3.1.2",
@@ -45,41 +45,41 @@
4545
"compression-webpack-plugin": "^0.3.2",
4646
"cross-env": "^3.1.3",
4747
"css-loader": "^0.26.1",
48-
"eslint": "^3.11.1",
48+
"eslint": "^3.12.2",
4949
"eslint-config-standard": "^6.2.1",
5050
"eslint-friendly-formatter": "^2.0.6",
5151
"eslint-loader": "^1.6.1",
5252
"eslint-plugin-html": "^1.6.0",
5353
"eslint-plugin-promise": "^3.3.1",
5454
"eslint-plugin-standard": "^2.0.1",
5555
"exports-loader": "^0.6.3",
56-
"extract-text-webpack-plugin": "beta",
56+
"extract-text-webpack-plugin": "v2.0.0-beta.4",
5757
"file-loader": "^0.9.0",
5858
"fs-extra": "^1.0.0",
5959
"glob": "^7.1.1",
60-
"happypack": "^3.0.0",
60+
"happypack": "^3.0.1",
6161
"html-loader": "^0.4.4",
6262
"html-webpack-plugin": "^2.24.1",
6363
"imagemin-mozjpeg": "^6.0.0",
6464
"imagemin-webpack-plugin": "^1.2.1",
65-
"imports-loader": "^0.6.5",
65+
"imports-loader": "^0.7.0",
6666
"json-loader": "^0.5.4",
67-
"node-sass": "^3.11.2",
67+
"node-sass": "^4.0.0",
6868
"open-browser-webpack-plugin": "0.0.3",
69-
"postcss-loader": "^1.1.0",
69+
"postcss-loader": "^1.2.1",
7070
"rimraf": "^2.5.4",
71-
"sass-loader": "^4.0.2",
71+
"sass-loader": "^4.1.0",
7272
"standard": "^8.5.0",
7373
"standard-loader": "^5.0.0",
74-
"testcafe": "^0.10.0",
74+
"testcafe": "^0.11.1",
7575
"url-loader": "^0.5.7",
7676
"vue-loader": "^10.0.2",
7777
"vue-style-loader": "^1.0.0",
78-
"vue-template-compiler": "^2.1.4",
79-
"webpack": "^2.1.0-beta.27",
78+
"vue-template-compiler": "^2.1.6",
79+
"webpack": "v2.2.0-rc.0",
8080
"webpack-bundle-analyzer": "^2.1.1",
8181
"webpack-dashboard": "^0.2.0",
82-
"webpack-dev-server": "beta",
83-
"webpack-merge": "^1.0.2"
82+
"webpack-dev-server": "v2.2.0-rc.0",
83+
"webpack-merge": "^1.1.1"
8484
}
8585
}

tools/webpack/conf.base.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,5 +111,8 @@ module.exports = {
111111
minChunks: Infinity
112112
}),
113113
...config.htmls.map(conf => new HtmlWebpackPlugin(conf))
114-
]
114+
],
115+
performance: {
116+
hints: prod
117+
}
115118
}

0 commit comments

Comments
 (0)