-
-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minify options #54
Labels
Comments
we could land babel/babel#3331 before that (options for presets)? |
Yay! It's merged now - babel/babel#3331. We could start discussion about the list of options. mangle : bool | {
keepFnames: bool, // overrides keepFnames in root
eval: bool,
blacklist: [string]
},
deadcode: bool | {
keepFnames: bool, // overrides keepFnames in root
keepFargs: bool,
},
keepFnames: bool, // passed to DCE and Mangler
unsafe: bool | {
flipComparisons,
typeConstructors,
simplifyComparisons,
guardedExpr,
},
evaluate: bool, // constant folding,
simplify: bool, // simplify, undef to void,
booleans: bool,
properties: bool, |
I would much appreciate a |
boopathi
added a commit
that referenced
this issue
Nov 20, 2016
+ (Close #54) Extract OptionsManager to a separate file Update keepFnName and snapshots Add regexp constructors
boopathi
added a commit
that referenced
this issue
Nov 22, 2016
+ (Close #54) Extract OptionsManager to a separate file Update keepFnName and snapshots Add regexp constructors rewrite options manager Fix lint Remove deadcode
boopathi
added a commit
that referenced
this issue
Nov 22, 2016
+ (Close #54) Extract OptionsManager to a separate file Update keepFnName and snapshots Add regexp constructors rewrite options manager Fix lint Remove deadcode
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since it is a preset, there won't be any options passed to the minifier.
for example,
!==
to!=
,>=
to<
etc...
How to support these as options to be passed to the minifier - when used as a CLI or a Preset?
The text was updated successfully, but these errors were encountered: