-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
It doesn't appear to be possible to output code without at least some degree of minification - is this by design?
$ esbuild --version
0.6.31
Actual:
$ echo 'false, true, a = true && b, a = false || b, typeof !!7, typeof !!!x;' | esbuild
false, true, a = b, a = b, "boolean", typeof !x;
$ echo 'false, true, a = true && b, a = false || b, typeof !!7, typeof !!!x;' | esbuild --minify-whitespace
!1,!0,a=b,a=b,"boolean",typeof!x;
Expected:
$ echo 'false, true, a = true && b, a = false || b, typeof !!7, typeof !!!x;' | npx uglify-js
false,true,a=true&&b,a=false||b,typeof!!7,typeof!!!x;
Encountered when trying to verify non-minified whitespace-removed esbuild output of uglify tests against whitespace-removed input.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels