-
Notifications
You must be signed in to change notification settings - Fork 284
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
Fix coverage grunt task from Gruntfile.js #537
Comments
It doesn't really make sense to compress assets in development server. It will just slow it down, hence development server, not the production one :) |
Wont it speed up page load, though, hence a faster development experience and one that is closer to the production experience? (FYI always here to learn so don't be shy to tell me i'm wrong) |
@sashadev-sky I am glad you ask.
The usual practice is to compress on the final build, but if you insist I'll enable it. |
* ADD: Webpack module bundler Up to this point, we have been writing old ES5. This change introduces Webpack, Webpack development server, Babel... From now on, we will be able to write modern JavaScript. Resolves #372 * UPDATE: README "Contributing" section "Contributing" section updated to show project setup with Webpack. * ADD: Webpack config file documentation The documentation for the Webpack configuration file can be found in WEBPACK.md * ADD: "npm run build" to travis.yml * ADD: leaflet.distortableimage.js to git tracker Added to resolve merge conflict. * UPDATE: Webpack.md Fixed redundant spaces and a grammar issue. * UPDATE: Project configuration files Changes: - Add npm build script to pre-commit task - Remove redundant Grunt's "default" task - Empty line to .gitignore - Move vendor.css to load before our css - Change WDS port from 3000 to 8080 - Update README.md * ADD: "watch" Grunt task to run tests on change * Update README.md Co-Authored-By: Sasha Boginsky <41092741+sashadev-sky@users.noreply.github.com> * Update README.md Co-Authored-By: Sasha Boginsky <41092741+sashadev-sky@users.noreply.github.com> * Update README.md Co-Authored-By: Sasha Boginsky <41092741+sashadev-sky@users.noreply.github.com> * Update WEBPACK.md Co-Authored-By: Sasha Boginsky <41092741+sashadev-sky@users.noreply.github.com> * Update README.md Co-Authored-By: Sasha Boginsky <41092741+sashadev-sky@users.noreply.github.com> * v0.12.6 🚀🚀🚀 * FIX: Karma tests coverage Karma configuration modified to generate the coverage folder inside of the working directory and without PhantomJS subfolder. Minor change: browserlist update to include browsers with the usage > 0.2% Resolves #537 * Rebase the branch Co-authored-by: Sasha Boginsky <41092741+sashadev-sky@users.noreply.github.com>
…liclab#512) * ADD: Webpack module bundler Up to this point, we have been writing old ES5. This change introduces Webpack, Webpack development server, Babel... From now on, we will be able to write modern JavaScript. Resolves publiclab#372 * UPDATE: README "Contributing" section "Contributing" section updated to show project setup with Webpack. * ADD: Webpack config file documentation The documentation for the Webpack configuration file can be found in WEBPACK.md * ADD: "npm run build" to travis.yml * ADD: leaflet.distortableimage.js to git tracker Added to resolve merge conflict. * UPDATE: Webpack.md Fixed redundant spaces and a grammar issue. * UPDATE: Project configuration files Changes: - Add npm build script to pre-commit task - Remove redundant Grunt's "default" task - Empty line to .gitignore - Move vendor.css to load before our css - Change WDS port from 3000 to 8080 - Update README.md * ADD: "watch" Grunt task to run tests on change * Update README.md Co-Authored-By: Sasha Boginsky <41092741+sashadev-sky@users.noreply.github.com> * Update README.md Co-Authored-By: Sasha Boginsky <41092741+sashadev-sky@users.noreply.github.com> * Update README.md Co-Authored-By: Sasha Boginsky <41092741+sashadev-sky@users.noreply.github.com> * Update WEBPACK.md Co-Authored-By: Sasha Boginsky <41092741+sashadev-sky@users.noreply.github.com> * Update README.md Co-Authored-By: Sasha Boginsky <41092741+sashadev-sky@users.noreply.github.com> * v0.12.6 🚀🚀🚀 * FIX: Karma tests coverage Karma configuration modified to generate the coverage folder inside of the working directory and without PhantomJS subfolder. Minor change: browserlist update to include browsers with the usage > 0.2% Resolves publiclab#537 * Rebase the branch Co-authored-by: Sasha Boginsky <41092741+sashadev-sky@users.noreply.github.com>
coverage
folder is created outside of the repository in its parent folder.phantom/filesalso other potential followups for webpack config:
compress: true
to devServer to enable GZIP compression?The text was updated successfully, but these errors were encountered: