We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 285980e commit b59436aCopy full SHA for b59436a
lib/compiler/assets-manager.ts
@@ -60,10 +60,13 @@ export class AssetsManager {
60
61
const filesToCopy = assets.map<AssetEntry>((item) => {
62
let includePath = typeof item === 'string' ? item : item.include!;
63
- let excludePath = typeof item !== 'string' && item.exclude ? item.exclude : undefined;
+ let excludePath =
64
+ typeof item !== 'string' && item.exclude ? item.exclude : undefined;
65
66
includePath = join(sourceRoot, includePath).replace(/\\/g, '/');
- excludePath = excludePath ? join(sourceRoot, excludePath).replace(/\\/g, '/') : undefined;
67
+ excludePath = excludePath
68
+ ? join(sourceRoot, excludePath).replace(/\\/g, '/')
69
+ : undefined;
70
71
return {
72
outDir: typeof item !== 'string' ? item.outDir || outDir : outDir,
0 commit comments