Files
vue-cli/packages/@vue/cli-service/webpack.config.js
2018-01-05 13:19:23 -05:00

12 lines
327 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(process.env.VUE_CLI_CONTEXT || process.cwd())
}
module.exports = service.resolveWebpackConfig()