File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
packages/angular_devkit/build_angular/src Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ export async function* runEsBuildBuildAction(
3333 deleteOutputPath ?: boolean ;
3434 poll ?: number ;
3535 signal ?: AbortSignal ;
36+ preserveSymlinks ?: boolean ;
3637 } ,
3738) : AsyncIterable < ( ExecutionResult [ 'outputWithFiles' ] | ExecutionResult [ 'output' ] ) & BuilderOutput > {
3839 const {
@@ -48,6 +49,7 @@ export async function* runEsBuildBuildAction(
4849 projectRoot,
4950 workspaceRoot,
5051 progress,
52+ preserveSymlinks,
5153 } = options ;
5254
5355 if ( deleteOutputPath && writeToFileSystem ) {
@@ -79,6 +81,7 @@ export async function* runEsBuildBuildAction(
7981 watcher = createWatcher ( {
8082 polling : typeof poll === 'number' ,
8183 interval : poll ,
84+ followSymlinks : preserveSymlinks ,
8285 ignored : [
8386 // Ignore the output and cache paths to avoid infinite rebuild cycles
8487 outputPath ,
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ export async function* buildApplicationInternal(
6464 } ,
6565 {
6666 watch : normalizedOptions . watch ,
67+ preserveSymlinks : normalizedOptions . preserveSymlinks ,
6768 poll : normalizedOptions . poll ,
6869 deleteOutputPath : normalizedOptions . deleteOutputPath ,
6970 cacheOptions : normalizedOptions . cacheOptions ,
Original file line number Diff line number Diff line change @@ -39,11 +39,13 @@ export function createWatcher(options?: {
3939 polling ?: boolean ;
4040 interval ?: number ;
4141 ignored ?: string [ ] ;
42+ followSymlinks ?: boolean ;
4243} ) : BuildWatcher {
4344 const watcher = new FSWatcher ( {
4445 usePolling : options ?. polling ,
4546 interval : options ?. interval ,
4647 ignored : options ?. ignored ,
48+ followSymlinks : options ?. followSymlinks ,
4749 disableGlobbing : true ,
4850 ignoreInitial : true ,
4951 } ) ;
You can’t perform that action at this time.
0 commit comments