Nuxt/packages/nitro/src/presets/netlify.ts

15 lines
306 B
TypeScript
Raw Normal View History

2020-11-20 00:16:31 +00:00
import { extendPreset } from '../utils'
import { SigmaPreset } from '../context'
import { lambda } from './lambda'
export const netlify: SigmaPreset = extendPreset(lambda, {
2020-11-20 01:49:43 +00:00
// @ts-ignore
output: {
publicDir: '{{ _nuxt.rootDir }}/dist'
},
2020-11-20 00:16:31 +00:00
ignore: [
'netlify.toml',
'_redirects'
]
})