Skip to content

Commit 49bac6b

Browse files
alan-agius4thePunderWoman
authored andcommitted
build: exclude esbuild metadata files from distributable packages (#61636)
Prevents esbuild generated metadata files from being included in build artifacts. This reduces package size and avoids shipping unnecessary internal build data. PR Close #61636
1 parent 9eefc5d commit 49bac6b

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

packages/compiler-cli/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ esbuild(
6666
"yargs",
6767
],
6868
format = "esm",
69+
metafile = False,
6970
platform = "node",
7071
splitting = True,
7172
target = "node20",

packages/localize/schematics/ng-add/BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ esbuild(
2525
"@schematics/*",
2626
],
2727
format = "cjs",
28+
metafile = False,
2829
platform = "node",
30+
target = "node20",
2931
deps = [":ng-add"],
3032
)
3133

packages/localize/tools/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ esbuild(
5656
"tinyglobby",
5757
],
5858
format = "esm",
59+
metafile = False,
5960
platform = "node",
6061
splitting = True,
6162
target = "node20",

packages/service-worker/cli/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ esbuild(
2626
"@angular/service-worker",
2727
],
2828
format = "esm",
29+
metafile = False,
2930
platform = "node",
3031
target = "node20",
3132
deps = [

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy