diff --git a/lib/tasks/assets.rake b/lib/tasks/assets.rake index 9288fa499e7..10e19be30e9 100644 --- a/lib/tasks/assets.rake +++ b/lib/tasks/assets.rake @@ -113,7 +113,7 @@ def compress_node(from, to) base_source_map = assets_path + assets_additional_path cmd = <<~EOS - terser '#{assets_path}/#{from}' -m -c -o '#{to_path}' --source-map "base='#{base_source_map}',root='#{source_map_root}',url='#{source_map_url}'" + terser '#{assets_path}/#{from}' -m -c -o '#{to_path}' --source-map "base='#{base_source_map}',root='#{source_map_root}',url='#{source_map_url}',includeSources=true" EOS STDERR.puts cmd