Skip to content

Commit 7220c89

Browse files
committed
fix(docs-infra): enable font inlining for adev (angular#54524)
Enable font inlining for adev PR Close angular#54524
1 parent 6501d9b commit 7220c89

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

adev/BUILD.bazel

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
load("//:packages.bzl", "link_packages")
2+
load("@aio_npm//@angular/build-tooling/bazel/remote-execution:index.bzl", "ENABLE_NETWORK")
23
load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
34
load("@build_bazel_rules_nodejs//:index.bzl", "copy_to_bin")
45
load("@npm//@angular-devkit/architect-cli:index.bzl", "architect", "architect_test")
@@ -131,6 +132,8 @@ architect(
131132
data = APPLICATION_DEPS + [
132133
":application_files_bin",
133134
],
135+
# Network is required to inline fonts.
136+
exec_properties = ENABLE_NETWORK,
134137
output_dir = True,
135138
)
136139

adev/angular.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@
3939
"webWorkerTsConfig": "tsconfig.worker.json",
4040
"optimization": {
4141
"fonts": {
42-
// TODO(josephperrott): enabled inline scripts
43-
"inline": false
42+
"inline": true
4443
}
4544
}
4645
},

0 commit comments

Comments
 (0)