We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8961807 commit 69aa40eCopy full SHA for 69aa40e
1 file changed
packages/module/src/modules/config/index.ts
@@ -40,8 +40,8 @@ export async function setupConfigGen(options: ModuleOptions, nuxt: Nuxt) {
40
setupDevToolsIntegration(options, nuxt)
41
42
await writeConfigFile()
43
- nuxt.hook('builder:generateApp', () => {
44
- writeConfigFile()
+ nuxt.hook('builder:generateApp', async () => {
+ await writeConfigFile()
45
})
46
47
if (autoInit) {
0 commit comments