Skip to content
Browse files

Stop embedding source files into sourcemap

It bloats sourcemaps and take quite bit of a time in bundling. This
improves the bundling time at an observable level.

PiperOrigin-RevId: 252503518
  • Loading branch information...
gkdn authored and Copybara-Service committed Jun 10, 2019
1 parent 87d0d13 commit 5b0583c501d3a99333926533c3fd1585bc6ce08b
Showing with 3 additions and 0 deletions.
  1. +3 −0 build_defs/internal_do_not_use/j2cl_js_common.bzl
@@ -45,6 +45,9 @@ def js_devserver(
compilation_level = "BUNDLE",
defs = entry_point_defs,
deps = deps,
# For J2CL it is in impractical to embed all source into sourcemap since
# it bloats sourcemaps as well as it slows down bundling.
nodefs = ["--source_map_include_content"],


0 comments on commit 5b0583c

Please sign in to comment.
You can’t perform that action at this time.