Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,20 @@ export const build: BuildV3 = async ({
? config.excludeFiles
: [config.excludeFiles]
: [
// Dependencies
'node_modules/**',
// Build outputs and caches
'.next/**',
'.turbo/**',
'dist/**',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with all of them, but dist can be useful. If you need some resources for PHP, for example geoip.json, I think you can place it to data or dist or something like that. Ignoring dist folder can be hidden problem. WDYT?

If someone want to ignore it, you can use excludeFiles.

'.cache/**',
'.nuxt/**',
'.svelte-kit/**',
'.output/**',
// Legacy Vercel files
'now.json',
'.nowignore',
// Vercel configuration
'vercel.json',
'.vercelignore',
]),
Expand Down