Skip to content

Commit 0f73e28

Browse files
committed
Map source lines for assignment statements.
1 parent 0c3cb93 commit 0f73e28

File tree

2 files changed

+24
-6
lines changed

2 files changed

+24
-6
lines changed

tools/eliminator/node_modules/uglify-js/lib/process.js

+23-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/js-optimizer.js

+1
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ function srcToAst(src) {
152152

153153
function astToSrc(ast, compress) {
154154
return uglify.uglify.gen_code(ast, {
155+
debug: debug,
155156
ascii_only: true,
156157
beautify: !compress,
157158
indent_level: 2

0 commit comments

Comments
 (0)