Skip to content

Commit 51ecf29

Browse files
committed
build: enable proper source maps in dev-app
Enables proper source maps in dev-app, and also includes sources in the maps as most people probably don't integrate the source project into dev tools.
1 parent c557678 commit 51ecf29

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/dev-app/BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ esbuild(
107107
] + ["%s:index.js" % e for e in ALL_EXAMPLES],
108108
minify = True,
109109
platform = "browser",
110+
sourcemap = "linked",
111+
sources_content = True,
110112
splitting = True,
111113
# We cannot use `ES2017` or higher as that would result in `async/await` not being downleveled.
112114
# ZoneJS needs to be able to intercept these as otherwise change detection would not work properly.

0 commit comments

Comments
 (0)