[Build] reduce dev log (#1063)

This commit is contained in:
neverland 2018-05-14 18:52:23 +08:00 committed by GitHub
parent 3b57e33654
commit b1142fd862
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 0 deletions

View File

@ -19,6 +19,9 @@ module.exports = {
host: '0.0.0.0',
dev: {
logLevel: 'warn'
},
hot: {
logLevel: 'warn'
}
},
resolve: {

View File

@ -29,6 +29,10 @@ router.afterEach(() => {
window.vueRouter = router;
if (process.env.NODE_ENV !== 'production') {
Vue.config.productionTip = false;
}
new Vue({ // eslint-disable-line
render: h => h(App),
router,

View File

@ -24,6 +24,10 @@ router.afterEach(() => {
window.vueRouter = router;
if (process.env.NODE_ENV !== 'production') {
Vue.config.productionTip = false;
}
new Vue({ // eslint-disable-line
render: h => h(App),
router,