yo.base.config.js
508 Bytes
const yo = require('yo-cli');
const path = require('path');
module.exports = yo()
.style({
preLoaders: {
scss: true
}
})
.resolve({
alias: {
'create-api': 'common/create-api-client.js'
},
modules: [
path.join(__dirname, '../src'),
path.join(__dirname, '../src/statics'),
'node_modules'
]
})
.js({
babel: {
exclude: /node_modules/
}
})
.vue();