Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upJunctions (linked folders) in the assets folder are only partially copied to the build output #19086
Comments
|
Had chat with @clydin and he mentioned that this is the expected behaviour. We mentioned two action points.
|
|
Hi @alan-agius4, thanks for the fast reply. |
Command
Is this a regression?
Did not work with ng 8 and does not work with ng 10. Did not check with 9 or anything before 8.
Description
When creating a junction inside the src/assets folder to another folder somewhere in the filesystem, the compiled output only contains the files that are directly beneath the linked folder. Any sub-folders in this linked folder are ignored by the compiler.
Tested on Windows 10:
ng new assetsBugApp,mklink /J C:\tmp\assetsBugApp\src\assets\test C:\tmp\testAssets)ng buildAnything else relevant?
Might be isolated to Windows environments.
Would be great to have this resolved, copying assets from A to B is less fun than linking them... :)