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
svgoConfigoption must now go insideHtmlWebpackInlineSVGPlugin({})instead ofHtmlWebpackPlugin({}). An error is thrown at webpack build time otherwise. - The defaults for the
svgomodule aren't hardcoded anymore and –excepting thecleanupIDsoption– the defaults are now set by the own modulesvgoand 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.