From 3a3249f361a1e697b826ef297a75654d7bcccf4a Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Tue, 14 Jan 2025 18:40:04 +0100 Subject: [PATCH] feat: use .mcfly as builddir --- .gitignore | 1 + packages/config/nitro-config.js | 1 + templates/basic/.gitignore | 1 + 3 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 1442e61..aa8a4ea 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ html *.log* .nitro +.mcfly .netlify .cache .output diff --git a/packages/config/nitro-config.js b/packages/config/nitro-config.js index 47feee7..259bc0b 100644 --- a/packages/config/nitro-config.js +++ b/packages/config/nitro-config.js @@ -9,6 +9,7 @@ export const nitroConfig = { compatibilityDate: '2024-12-08', srcDir: 'src', apiDir: 'api', + buildDir: '.mcfly', devServer: { watch: ['./pages', './components', './api'], }, diff --git a/templates/basic/.gitignore b/templates/basic/.gitignore index c2a82ff..8dfe755 100644 --- a/templates/basic/.gitignore +++ b/templates/basic/.gitignore @@ -2,6 +2,7 @@ dist node_modules *.log* .nitro +.mcfly .cache .output .env