Skip to content
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

Closed
wants to merge 1 commit into from

Conversation

thefourtheye
Copy link
Contributor

@thefourtheye thefourtheye commented May 8, 2016

Checklist
  • the commit message follows commit guidelines
Affected core subsystem(s)

tools

Description of change

jsmin module is imported to use JavaScriptMinifier class, but the
class 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/

@thefourtheye thefourtheye added the tools Issues and PRs related to the tools directory. label May 8, 2016
@bnoordhuis
Copy link
Member

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.

@thefourtheye
Copy link
Contributor Author

@bnoordhuis The minifier actually has a bug, I was thinking about fixing it. Are we never going to use minifier?

@thefourtheye
Copy link
Contributor Author

Okay, removed the entire minifying logic now.

@bnoordhuis
Copy link
Member

bnoordhuis commented May 8, 2016

LGTM

EDIT: You'll need to update the commit log, though.

@thefourtheye thefourtheye changed the title tools: use JavaScriptMinifier with module name tools: remove minifying logic May 8, 2016
As the minifier logic is not used at all, this patch removes the code
necessary for it.
@thefourtheye
Copy link
Contributor Author

@bnoordhuis Thanks :-) Updated the commit message and log.

@JacksonTian
Copy link
Contributor

LGTM

@bnoordhuis
Copy link
Member

Commit log LGTM.

@thefourtheye
Copy link
Contributor Author

Landed in 0e2b250

@thefourtheye thefourtheye deleted the fix-jsmin-import branch May 12, 2016 14:59
thefourtheye added a commit that referenced this pull request May 12, 2016
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>
evanlucas pushed a commit that referenced this pull request May 17, 2016
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>
@MylesBorins
Copy link
Contributor

@thefourtheye lts?

@thefourtheye
Copy link
Contributor Author

@thealphanerd Ya, we can LTS this.

MylesBorins pushed a commit that referenced this pull request Jun 2, 2016
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>
@MylesBorins MylesBorins mentioned this pull request Jun 24, 2016
MylesBorins pushed a commit that referenced this pull request Jun 24, 2016
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>
MylesBorins pushed a commit that referenced this pull request Jun 24, 2016
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tools Issues and PRs related to the tools directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants