It removes development warning from production environment

This commit is contained in:
weryques 2018-03-02 09:27:59 -03:00
parent 071aa0a8d8
commit 99dc00d39c
1 changed files with 5 additions and 2 deletions

View File

@ -46,7 +46,7 @@ module.exports = {
},
resolve: {
alias: {
'vue$': 'vue/dist/vue'
'vue$': 'vue/dist/vue.js'
}
},
devServer: {
@ -72,5 +72,8 @@ if (process.env.NODE_ENV === 'production') {
new webpack.LoaderOptionsPlugin({
minimize: true
})
])
]);
module.exports.resolve.alias = {
'vue$': 'vue/dist/vue.min.js'
}
}