Skip to content

Commit 80c49fc

Browse files
G-Fourteenclaude
andcommitted
Fix: Allow .claude.zip and .nojekyll in deployment
The copy-assets.js script was excluding all dot-prefixed files during build, which prevented .claude.zip from being deployed. Added allowlist for necessary dot files. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 85bc046 commit 80c49fc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

copy-assets.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ function shouldExclude(itemPath, itemName) {
9090
}
9191

9292
// Check if it's a hidden file/folder (starts with .)
93-
if (itemName.startsWith('.') && itemName !== '.htaccess' && itemName !== '_headers') {
93+
// Allow .htaccess, _headers, .nojekyll, and .claude.zip (download file)
94+
const allowedDotFiles = ['.htaccess', '_headers', '.nojekyll', '.claude.zip'];
95+
if (itemName.startsWith('.') && !allowedDotFiles.includes(itemName)) {
9496
return true;
9597
}
9698

0 commit comments

Comments
 (0)