feige
2025-05-06 be016d292a1eb3af5088e17f076e7cc6cab90576
1
2
3
4
5
6
7
8
9
10
11
12
// 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 || process.env.VUE_CLI_API_MODE) {
  const Service = require('./lib/Service')
  service = new Service(process.env.VUE_CLI_CONTEXT || process.cwd())
  service.init(process.env.VUE_CLI_MODE || process.env.NODE_ENV)
}
 
module.exports = service.resolveWebpackConfig()