fix(nuxt): remove dist from the default ignore list (#22227)

This commit is contained in:
Anthony Fu 2023-07-19 19:32:27 +02:00 committed by GitHub
parent 380a91985c
commit 03abb6aa4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -356,7 +356,6 @@ export default defineUntypedSchema({
'**/*.{spec,test}.{js,cts,mts,ts,jsx,tsx}', // ignore tests '**/*.{spec,test}.{js,cts,mts,ts,jsx,tsx}', // ignore tests
'**/*.d.{cts,mts,ts}', // ignore type declarations '**/*.d.{cts,mts,ts}', // ignore type declarations
'**/.{vercel,netlify,output,git,cache,data}', '**/.{vercel,netlify,output,git,cache,data}',
'**/dist',
relative(await get('rootDir'), await get('analyzeDir')), relative(await get('rootDir'), await get('analyzeDir')),
relative(await get('rootDir'), await get('buildDir')), relative(await get('rootDir'), await get('buildDir')),
await get('ignorePrefix') && `**/${await get('ignorePrefix')}*.*` await get('ignorePrefix') && `**/${await get('ignorePrefix')}*.*`