File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -60,10 +60,13 @@ export class AssetsManager {
6060
6161 const filesToCopy = assets . map < AssetEntry > ( ( item ) => {
6262 let includePath = typeof item === 'string' ? item : item . include ! ;
63- let excludePath = typeof item !== 'string' && item . exclude ? item . exclude : undefined ;
63+ let excludePath =
64+ typeof item !== 'string' && item . exclude ? item . exclude : undefined ;
6465
6566 includePath = join ( sourceRoot , includePath ) . replace ( / \\ / g, '/' ) ;
66- excludePath = excludePath ? join ( sourceRoot , excludePath ) . replace ( / \\ / g, '/' ) : undefined ;
67+ excludePath = excludePath
68+ ? join ( sourceRoot , excludePath ) . replace ( / \\ / g, '/' )
69+ : undefined ;
6770
6871 return {
6972 outDir : typeof item !== 'string' ? item . outDir || outDir : outDir ,
You can’t perform that action at this time.
0 commit comments