fix: use dist for netlify as default

This commit is contained in:
Pooya Parsa 2020-11-20 02:49:43 +01:00
parent ec291dafc1
commit f638a44568

View File

@ -3,6 +3,10 @@ import { SigmaPreset } from '../context'
import { lambda } from './lambda' import { lambda } from './lambda'
export const netlify: SigmaPreset = extendPreset(lambda, { export const netlify: SigmaPreset = extendPreset(lambda, {
// @ts-ignore
output: {
publicDir: '{{ _nuxt.rootDir }}/dist'
},
ignore: [ ignore: [
'netlify.toml', 'netlify.toml',
'_redirects' '_redirects'