alias配置
vue < 2.1.0
module.exports = { ... resolve: { alias: { 'vue$': 'vue/dist/vue.js' } }, ... }
vue >= 2.1.0
module.exports = { ... resolve: { alias: { 'vue$': 'vue/dist/vue.common.js' } }, ... }
出處:https://stackoverflow.com/questions/41431167/webpack-compiling-vue-with-node-env-production-still-results-in-dev-warning