Releases: theGC/html-webpack-inline-svg-plugin
Releases · theGC/html-webpack-inline-svg-plugin
2.3.0
- BREAKING CHANGE: On the webpack configuration file the
svgoConfig
option must now go insideHtmlWebpackInlineSVGPlugin({})
instead ofHtmlWebpackPlugin({})
. An error is thrown at webpack build time otherwise. - The defaults for the
svgo
module aren't hardcoded anymore and –excepting thecleanupIDs
option– the defaults are now set by the own modulesvgo
and nothtml-webpack-inline-svg-plugin
.
2.2.0: Merge pull request #29 from davidpelayo/master
- Ability added to load SVGs from an URL (
<img inline src="https://host.com/image.svg">
).
1.1.0
runPreEmit
config option added. Now with this feature the SVG files can be referenced from the root of the project (where package.json
is) instead of from the webpack output folder. This can help with getting to certain files, i.e. within your node_modules
directory.