Skip to content

Releases: theGC/html-webpack-inline-svg-plugin

2.3.0

12 Aug 16:48
d7aff06
Compare
Choose a tag to compare
  • BREAKING CHANGE: On the webpack configuration file the svgoConfig option must now go inside HtmlWebpackInlineSVGPlugin({}) instead of HtmlWebpackPlugin({}). An error is thrown at webpack build time otherwise.
  • The defaults for the svgo module aren't hardcoded anymore and –excepting the cleanupIDs option– the defaults are now set by the own module svgo and not html-webpack-inline-svg-plugin.

2.2.0: Merge pull request #29 from davidpelayo/master

19 Jun 23:04
e773d40
Compare
Choose a tag to compare
  • Ability added to load SVGs from an URL (<img inline src="https://host.com/image.svg">).

1.1.0

03 Aug 23:08
Compare
Choose a tag to compare

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.

1.0.0

03 Aug 23:10
Compare
Choose a tag to compare

As of version 1.0.0 by default this plugin processes SVG files after all template and image files have been written to their corresponding output directory. This allows it to work alongside loaders, after webpack resolves all file locations.