mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
Revert "env: Add NUXT_ROOT_DIR env to work with pm2"
This reverts commit 17275d52df
.
This commit is contained in:
parent
17275d52df
commit
baaf67def6
@ -11,7 +11,7 @@ const esm = require('esm')(module, {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
const getRootDir = argv => resolve(process.env.NUXT_ROOT_DIR || argv._[0] || '.')
|
const getRootDir = argv => resolve(argv._[0] || '.')
|
||||||
const getNuxtConfigFile = argv => resolve(getRootDir(argv), argv['config-file'])
|
const getNuxtConfigFile = argv => resolve(getRootDir(argv), argv['config-file'])
|
||||||
|
|
||||||
exports.nuxtConfigFile = getNuxtConfigFile
|
exports.nuxtConfigFile = getNuxtConfigFile
|
||||||
|
Loading…
Reference in New Issue
Block a user