parent
a87d44c187
commit
f82b6b2ed7
|
@ -4,7 +4,7 @@
|
||||||
# found in the LICENSE file at https://angular.io/license
|
# found in the LICENSE file at https://angular.io/license
|
||||||
""" Public API surface is re-exported here.
|
""" Public API surface is re-exported here.
|
||||||
|
|
||||||
This API is exported for user's building angular from source in downstream
|
This API is exported for users building angular from source in downstream
|
||||||
projects. The rules from packages/bazel are re-exported here as well
|
projects. The rules from packages/bazel are re-exported here as well
|
||||||
as the ng_setup_workspace repository rule needed when building angular
|
as the ng_setup_workspace repository rule needed when building angular
|
||||||
from source downstream. Alternately, this API is available from the
|
from source downstream. Alternately, this API is available from the
|
||||||
|
|
|
@ -207,7 +207,7 @@ export function compile({allowNonHermeticReads, allDepsCompiledWithBazel = true,
|
||||||
if (fileName ===
|
if (fileName ===
|
||||||
path.join(compilerOpts.baseUrl, bazelOpts.package, compilerOpts.flatModuleOutFile + '.ts'))
|
path.join(compilerOpts.baseUrl, bazelOpts.package, compilerOpts.flatModuleOutFile + '.ts'))
|
||||||
return true;
|
return true;
|
||||||
// Also handle the case when angular is build from source as an external repository
|
// Also handle the case when angular is built from source as an external repository
|
||||||
if (fileName ===
|
if (fileName ===
|
||||||
path.join(
|
path.join(
|
||||||
compilerOpts.baseUrl, 'external/angular', bazelOpts.package,
|
compilerOpts.baseUrl, 'external/angular', bazelOpts.package,
|
||||||
|
|
Loading…
Reference in New Issue