/**
* Created by wensonsmith on 2017/12/5.
*/
let webpackConfig
const vuxLoader = require(‘vux-loader‘)
if (process.env.NODE_ENV === ‘production‘) {
webpackConfig = require(‘./webpack/webpack.prod.config‘)
} else if (process.env.NODE_ENV === ‘development‘) {
webpackConfig = require(‘./webpack/webpack.dev.config‘)
}
module.exports = vuxLoader.merge(webpackConfig, {
plugins: [‘vux-ui‘]
})