Skip to content

Commit 34e4102

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 2f68d55 commit 34e4102

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/dev-app/BUILD.bazel

+2
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ esbuild(
109109
] + ["%s:index.js" % e for e in ALL_EXAMPLES],
110110
minify = True,
111111
platform = "browser",
112+
sourcemap = "linked",
113+
sources_content = True,
112114
splitting = True,
113115
# We cannot use `ES2017` or higher as that would result in `async/await` not being downleveled.
114116
# ZoneJS needs to be able to intercept these as otherwise change detection would not work properly.

0 commit comments

Comments
 (0)