Files
vue-cli/packages/@vue/cli-service/webpack.config.js
2017-12-31 19:54:50 -05:00

12 lines
283 B
JavaScript

// this file is for cases where we need to access the
// webpack config as a file when using CLI commands.
let service = process.VUE_CLI_SERVICE
if (!service) {
const Service = require('./lib/service')
service = new Service()
}
module.exports = service.resolveWebpackConfig()