fix: try to add cwd to loadConfig
This commit is contained in:
parent
dba6b6ef84
commit
a55d669214
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ export function useMcFlyRoute({ storage }) {
|
||||||
const loadedConfig = await loadConfig({
|
const loadedConfig = await loadConfig({
|
||||||
name: 'mcfly',
|
name: 'mcfly',
|
||||||
configFile: 'mcfly.config',
|
configFile: 'mcfly.config',
|
||||||
|
cwd: '.',
|
||||||
})
|
})
|
||||||
const config = loadedConfig.config ?? {
|
const config = loadedConfig.config ?? {
|
||||||
components: 'js',
|
components: 'js',
|
||||||
|
|
Loading…
Reference in a new issue