We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec5f0e1 commit 8335659Copy full SHA for 8335659
scripts/package.js
@@ -87,6 +87,10 @@ function copyDir( src, dest ) {
87
let hasCopiedFiles = false
88
89
for ( const item of items ) {
90
+ // Skip hidden files/folders (start with '.')
91
+ if ( item.startsWith( '.' ) ) {
92
+ continue
93
+ }
94
const srcPath = path.join( src, item )
95
const destPath = path.join( dest, item )
96
const stat = fs.statSync( srcPath )
0 commit comments