|
1 |
| -[![npm][npm]][npm-url] |
2 |
| -[![chat][chat]][chat-url] |
3 |
| - |
4 | 1 | # extract-css-chunks-webpack-plugin
|
| 2 | +<p align="center"> |
| 3 | + <a href="https://www.npmjs.com/package/extract-css-chunks-webpack-plugin"> |
| 4 | + <img src="https://img.shields.io/npm/v/extract-css-chunks-webpack-plugin.svg" alt="Version" /> |
| 5 | + </a> |
| 6 | + |
| 7 | + <a href="https://travis-ci.org/faceyspacey/extract-css-chunks-webpack-plugin"> |
| 8 | + <img src="https://travis-ci.org/faceyspacey/extract-css-chunks-webpack-plugin.svg?branch=master" alt="Build Status" /> |
| 9 | + </a> |
| 10 | + |
| 11 | + <a href="https://greenkeeper.io"> |
| 12 | + <img src="https://badges.greenkeeper.io/faceyspacey/extract-css-chunks-webpack-plugin.svg" alt="Green Keeper" /> |
| 13 | + </a> |
| 14 | + |
| 15 | + <a href="https://www.npmjs.com/package/extract-css-chunks-webpack-plugin"> |
| 16 | + <img src="https://img.shields.io/npm/dt/extract-css-chunks-webpack-plugin.svg" alt="Downloads" /> |
| 17 | + </a> |
| 18 | + |
| 19 | + <a href="https://gitter.im/extract-css-chunks"> |
| 20 | + <img src="https://img.shields.io/gitter/room/nwjs/nw.js.svg" alt="Downloads" /> |
| 21 | + </a> |
| 22 | +</p> |
| 23 | + |
| 24 | +<p align="center"> |
| 25 | + <a href="https://www.npmjs.com/package/travis-github-status"> |
| 26 | + <img src="https://img.shields.io/npm/v/travis-github-status.svg" alt="Version" /> |
| 27 | + </a> |
| 28 | + |
| 29 | + <a href="https://travis-ci.org/faceyspacey/travis-github-status"> |
| 30 | + <img src="https://travis-ci.org/faceyspacey/travis-github-status.svg?branch=master" alt="Build Status" /> |
| 31 | + </a> |
| 32 | + |
| 33 | + <a href="https://lima.codeclimate.com/github/faceyspacey/travis-github-status/coverage"> |
| 34 | + <img src="https://lima.codeclimate.com/github/faceyspacey/travis-github-status/badges/coverage.svg" alt="Coverage Status"/> |
| 35 | + </a> |
| 36 | + |
| 37 | + <a href="https://greenkeeper.io"> |
| 38 | + <img src="https://badges.greenkeeper.io/faceyspacey/travis-github-status.svg" alt="Green Keeper" /> |
| 39 | + </a> |
| 40 | + |
| 41 | + <a href="https://lima.codeclimate.com/github/faceyspacey/travis-github-status"> |
| 42 | + <img src="https://lima.codeclimate.com/github/faceyspacey/travis-github-status/badges/gpa.svg" alt="GPA" /> |
| 43 | + </a> |
| 44 | + |
| 45 | + <a href="https://www.npmjs.com/package/travis-github-status"> |
| 46 | + <img src="https://img.shields.io/npm/dt/travis-github-status.svg" alt="Downloads" /> |
| 47 | + </a> |
| 48 | + |
| 49 | + <a href="https://snyk.io/test/github/faceyspacey/travis-github-status"> |
| 50 | + <img src="https://snyk.io/test/github/faceyspacey/travis-github-status/badge.svg" alt="Known Vulnerabilities" data-canonical-src="https://snyk.io/test/github/faceyspacey/travis-github-status"> |
| 51 | + </a> |
| 52 | + |
| 53 | + <a href="https://www.npmjs.com/package/travis-github-status"> |
| 54 | + <img src="https://img.shields.io/npm/l/travis-github-status.svg" alt="License" /> |
| 55 | + </a> |
| 56 | +</p> |
5 | 57 |
|
6 | 58 | Like `extract-text-webpack-plugin`, but creates multiple css files (one per chunk). Then, as part of server side rendering, you can deliver just the css chunks needed by the current request. The result is the most minimal CSS initially served compared to emerging JS-in-CSS solutions.
|
7 | 59 |
|
@@ -152,13 +204,7 @@ As an aside, so many apps share code between web and React Native--so the answer
|
152 | 204 | Most the code comes from the original Extract Text Webpack Plugin--the goal is to merge this functionality back into that package at some point, though that process is not looking good. So that might be a while. Until then I'd feel totally comfortable just using this package. Though it took a while to make (and figure out how the original package worked), very little code has changed, and it won't be hard to keep in sync with upstream changes.
|
153 | 205 |
|
154 | 206 |
|
155 |
| -## Contribution |
| 207 | +## Contributing |
156 | 208 | We use [commitizen](https://github.com/commitizen/cz-cli), so run `npm run commit` to make commits. A command-line form will appear, requiring you answer a few questions to automatically produce a nicely formatted commit. Releases, semantic version numbers, tags and changelogs will automatically be generated based on these commits thanks to [semantic-release](https://github.com/semantic-release/semantic-release).
|
157 | 209 |
|
158 | 210 |
|
159 |
| - |
160 |
| -[npm]: https://img.shields.io/npm/v/extract-css-chunks-webpack-plugin.svg |
161 |
| -[npm-url]: https://npmjs.com/package/extract-css-chunks-webpack-plugin |
162 |
| - |
163 |
| -[chat]: https://badges.gitter.im/extract-css-chunks-webpack-plugin.svg |
164 |
| -[chat-url]: https://gitter.im/extract-css-chunks-webpack-plugin |
|
0 commit comments