Great big ESLint
This commit is contained in:
parent
051eabbdc3
commit
ebcb938da1
48 changed files with 3890 additions and 2536 deletions
|
|
@ -1,12 +1,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
|
||||
let service = process.VUE_CLI_SERVICE;
|
||||
|
||||
if (!service || process.env.VUE_CLI_API_MODE) {
|
||||
const Service = require('@vue/cli-service/lib/Service')
|
||||
service = new Service(process.env.VUE_CLI_CONTEXT || process.cwd())
|
||||
service.init(process.env.VUE_CLI_MODE || process.env.NODE_ENV)
|
||||
const Service = require("@vue/cli-service/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()
|
||||
module.exports = service.resolveWebpackConfig();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue