diff --git a/packages/config/nitro-config.js b/packages/config/nitro-config.js index 86353f3..47feee7 100644 --- a/packages/config/nitro-config.js +++ b/packages/config/nitro-config.js @@ -7,17 +7,19 @@ export const nitroConfig = { name: 'McFly', }, compatibilityDate: '2024-12-08', + srcDir: 'src', + apiDir: 'api', devServer: { - watch: ['./src/pages', './src/components'], + watch: ['./pages', './components', './api'], }, serverAssets: [ { baseName: 'pages', - dir: './src/pages', + dir: './pages', }, { baseName: 'components', - dir: './src/components', + dir: './components', }, ], imports: { diff --git a/packages/config/package.json b/packages/config/package.json index 0a76491..44e5178 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@mcflyjs/config", - "version": "0.2.1", + "version": "0.2.2", "description": "Nitro configuration for McFly apps", "type": "module", "main": "index.js",