Skip to content

Commit

Permalink
Updates webpack dependency, adds badges and updates info related to r…
Browse files Browse the repository at this point in the history
…epo transfer
  • Loading branch information
cascornelissen committed Feb 28, 2018
1 parent 84c40d9 commit 57b52e3
Show file tree
Hide file tree
Showing 4 changed files with 1,438 additions and 77 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
@@ -1,5 +1,5 @@
The MIT License (MIT)
Copyright (c) 2016 Freshheads
Copyright (c) 2016 Cas Cornelissen

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
4 changes: 4 additions & 0 deletions README.md
@@ -1,4 +1,8 @@
# SVG Spritemap Webpack Plugin
[![npm](https://img.shields.io/npm/v/svg-spritemap-webpack-plugin.svg?style=flat-square)](https://www.npmjs.com/package/svg-spritemap-webpack-plugin)
[![npm](https://img.shields.io/npm/dm/svg-spritemap-webpack-plugin.svg?style=flat-square)](https://www.npmjs.com/package/svg-spritemap-webpack-plugin)
[![license](https://img.shields.io/github/license/cascornelissen/svg-spritemap-webpack-plugin.svg?style=flat-square)](https://github.com/cascornelissen/svg-spritemap-webpack-plugin/blob/webpack4/LICENSE.md)

This [webpack](https://webpack.github.io/) plugin generates a single SVG spritemap containing multiple `<symbol>` elements from all `.svg` files in a directory. Chris Coyier has a good write-up about the why's and how's of this technique on [CSS Tricks](https://css-tricks.com/svg-symbol-good-choice-icons/). Use it in combination with the [`svg4everybody`](https://github.com/jonathantneal/svg4everybody) package to easily and correctly load SVGs from the spritemap in all browsers.

NPM: [`svg-spritemap-webpack-plugin`](https://npmjs.com/package/svg-spritemap-webpack-plugin)
Expand Down

0 comments on commit 57b52e3

Please sign in to comment.