Skip to content

Commit 5df66cf

Browse files
fix(vercel): correct .vercelignore to preserve build-required files
1 parent 409531c commit 5df66cf

File tree

1 file changed

+48
-20
lines changed

1 file changed

+48
-20
lines changed

.vercelignore

Lines changed: 48 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,62 @@
1-
# Dependencies
1+
# Dependencies (not needed for build)
22

33
node_modules/
4+
package-lock.json
5+
yarn.lock
46

5-
# Source files (we only need dist/)
7+
# Environment variables (security)
68

7-
src/
8-
public/
9+
.env
10+
.env.local
11+
.env.\*.local
12+
.env.production
13+
.env.development
914

10-
# Config files
15+
# IDE and Editor files
1116

12-
.vercelignore
13-
vercel.json
17+
.vscode/
18+
.idea/
19+
_.swp
20+
_.swo
21+
\*~
22+
.project
23+
.classpath
24+
.settings/
1425

15-
# Build files
26+
# OS files
1627

17-
build.js
28+
.DS_Store
29+
Thumbs.db
30+
ehthumbs.db
31+
Desktop.ini
32+
.Spotlight-V100
33+
.Trashes
1834

19-
# Git
35+
# Logs
2036

21-
.git/
22-
.gitignore
37+
_.log
38+
logs/
39+
npm-debug.log_
40+
yarn-debug.log*
41+
yarn-error.log*
42+
lerna-debug.log\*
2343

24-
# IDE
44+
# Testing
2545

26-
.vscode/
27-
.idea/
46+
coverage/
47+
.nyc_output/
48+
.pytest_cache/
49+
.tox/
2850

29-
# OS
51+
# Temporary files
3052

31-
.DS_Store
32-
_.swp
33-
_.swo
34-
\*~
53+
tmp/
54+
temp/
55+
_.tmp
56+
_.temp
57+
58+
# Misc
59+
60+
.sass-cache/
61+
.eslintcache
62+
.prettiercache

0 commit comments

Comments
 (0)