Skip to content

Commit

Permalink
fix(js): enable hidden files as assets (#9880)
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav authored and FrozenPandaz committed Apr 19, 2022
1 parent 2ac7746 commit 92737a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/js/src/utils/copy-assets-handler.ts
Expand Up @@ -112,6 +112,7 @@ export class CopyAssetsHandler {
// fast-glob only supports Unix paths
const files = await fg(pattern.replace(/\\/g, '/'), {
cwd: this.rootDir,
dot: true, // enable hidden files
});

this.callback(
Expand Down

0 comments on commit 92737a6

Please sign in to comment.