mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
fix: use dist for netlify as default
This commit is contained in:
parent
ec291dafc1
commit
f638a44568
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user