Skip to content

Commit

Permalink
fix(netlify): update output templates
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Apr 7, 2022
1 parent 1d31ec9 commit 4f46310
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/presets/netlify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import type { Nitro } from '../types'
export const netlify = defineNitroPreset({
extends: 'aws-lambda',
output: {
dir: '{{ options.rootDir }}/.netlify/functions-internal',
publicDir: '{{ options.rootDir }}/dist'
dir: '{{ rootDir }}/.netlify/functions-internal',
publicDir: '{{ rootDir }}/dist'
},
hooks: {
async 'nitro:compiled' (nitro: Nitro) {
Expand Down

0 comments on commit 4f46310

Please sign in to comment.