-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
tools: remove minifying logic #6636
Conversation
We don't minify so I'd simply remove that code. You can probably reduce the line count by quite a bit if you remove all minification-related code. |
@bnoordhuis The minifier actually has a bug, I was thinking about fixing it. Are we never going to use minifier? |
Okay, removed the entire minifying logic now. |
LGTM EDIT: You'll need to update the commit log, though. |
As the minifier logic is not used at all, this patch removes the code necessary for it.
cf69dfb
to
707b8c6
Compare
@bnoordhuis Thanks :-) Updated the commit message and log. |
LGTM |
Commit log LGTM. |
Landed in 0e2b250 |
As the minifier logic is not used at all, this patch removes the code necessary for it. PR-URL: #6636 Reviewed-By: Jackson Tian <shvyo1987@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
As the minifier logic is not used at all, this patch removes the code necessary for it. PR-URL: #6636 Reviewed-By: Jackson Tian <shvyo1987@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
@thefourtheye lts? |
@thealphanerd Ya, we can LTS this. |
As the minifier logic is not used at all, this patch removes the code necessary for it. PR-URL: #6636 Reviewed-By: Jackson Tian <shvyo1987@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
As the minifier logic is not used at all, this patch removes the code necessary for it. PR-URL: #6636 Reviewed-By: Jackson Tian <shvyo1987@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
As the minifier logic is not used at all, this patch removes the code necessary for it. PR-URL: #6636 Reviewed-By: Jackson Tian <shvyo1987@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Checklist
Affected core subsystem(s)
tools
Description of change
jsmin
module is imported to useJavaScriptMinifier
class, but theclass should be referenced with the module name. Otherwise, it will
throw a
NameError
at runtime.As we don't use minifier at all, this patch removes the entire minifying logic.
cc @bnoordhuis
CI Run: https://ci.nodejs.org/job/node-test-pull-request/2538/