-
Notifications
You must be signed in to change notification settings - Fork 0
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
Added minification of build files. Resolves #4. #6
Conversation
Shouldn't we see some/any kind of "quality/performance improvement" in the reported tests with a change like this? |
@sun — as you can see below test run. Not all of them are configured to check Gulpfile and not all of them in the same way. I thought was not necessary at the moment. But, e.g., Codacy with is enabled to check with ESLint also the Gulpfile, is reporting: |
@LucaPipolo Codacy apparently reports a negative effect (due to false-positive coding style issues). My question was rather pointing into the direction of whether we're able to track/profile the quality / size / performance / stability / validity / compatibility of the compiled frontend assets with any of these tools — especially because the description of this particular PR here states:
(emphasis mine) Aside from that, is Codacy the only tool that checks the code in |
@sun — yep, Codacy is reporting a not passed status because it's analyzing also the Gulpfile, without using the ESLint file. E.g. Code Climate, instead, is analyzing Gulpfile as well but marked it as passed/A (see here). About:
Sorry but can not follow you. Yes, of course we're able to check these things of the compiled frontend assets but we're not doing it. And, my question is, why should we? We're checking quality of all sources files (.css, .scss, .js, .coffee, etc.) why also checking for compiled frontend assets? In addition, was not the idea to never push the However, we can do that. :) |
The service should run the gulpfile to create its own Sorry for misleading…
Was meant to be related to the level 2 optimizations of clean-css, not the PR in total. |
It's seems more something done by services like Circle CI that, running test, can look the So I'd say these are not the right tools to compile the |
Sure, we certainly don't want to commit the compiled files in That would be the point at which we would possibly see a positive improvement for PRs like this. At least Scrutinizer can be configured to perform a full build with |
Added an additional minified version of the build file using clean-css. Currently using the default settings, but we could also consider using level 2 optimizations. This should be handled with caution and needs testing first.