mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
13 lines
No EOL
473 B
Text
13 lines
No EOL
473 B
Text
# Make TypeScript and Angular compilation fast, by keeping a few copies of the
|
|
# compiler running as daemons, and cache SourceFile AST's to reduce parse time.
|
|
build --strategy=TypeScriptCompile=worker
|
|
build --strategy=AngularTemplateCompile=worker
|
|
|
|
test --test_output=errors
|
|
|
|
# Workaround https://github.com/bazelbuild/bazel/issues/3645
|
|
# Limit Bazel to consuming 3072K of RAM
|
|
build --local_resources=3072,2.0,1.0
|
|
|
|
# Use the Angular 6 compiler
|
|
build --define=compile=legacy |