diff --git a/lib/compiler/assets-manager.ts b/lib/compiler/assets-manager.ts index 5e0b6747f..60d12b287 100644 --- a/lib/compiler/assets-manager.ts +++ b/lib/compiler/assets-manager.ts @@ -38,7 +38,7 @@ export class AssetsManager { } public copyAssets( - configuration: Required, + configuration: Required, appName: string, outDir: string, watchAssetsMode: boolean, @@ -103,7 +103,10 @@ export class AssetsManager { this.watchers.push(watcher); } else { - const matchedPaths = sync(item.glob, { ignore: item.exclude }); + const matchedPaths = sync(item.glob, { + ignore: item.exclude, + dot: true, + }); const files = item.glob.endsWith('*') ? matchedPaths.filter((matched) => statSync(matched).isFile()) : matchedPaths.flatMap((matched) => {