Skip to content

Commit 3fa7ed1

Browse files
committed
fix(cloudflare): Remove problematic file filter in fs.copy
1 parent d24a990 commit 3fa7ed1

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

cli-tool/src/index.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2610,15 +2610,7 @@ async function executeCloudflareSandbox(options, targetDir) {
26102610

26112611
// Copy all files from cloudflare directory
26122612
await fs.copy(componentsDir, sandboxDir, {
2613-
overwrite: true,
2614-
filter: (src) => {
2615-
// Exclude node_modules and build artifacts
2616-
const shouldCopy = !src.includes('node_modules') &&
2617-
!src.includes('.wrangler') &&
2618-
!src.includes('dist') &&
2619-
!src.includes('.gitignore');
2620-
return shouldCopy;
2621-
}
2613+
overwrite: true
26222614
});
26232615

26242616
// Verify files were copied

0 commit comments

Comments
 (0)