Skip to content

Commit 4c9c453

Browse files
Error text ammended.
1 parent a409297 commit 4c9c453

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ class HtmlWebpackInlineSVGPlugin {
190190
getUserConfig (htmlPluginData) {
191191

192192
if (_.get(htmlPluginData, 'plugin.options.svgoConfig', false)) {
193-
throw new Error('html-webpack-inline-svg-plugin: on your webpack configuration file svgoConfig option must now go inside HtmlWebpackInlineSVGPlugin({}) instead of HtmlWebpackPlugin({}): https://github.com/theGC/html-webpack-inline-svg-plugin#config')
193+
throw new Error('html-webpack-inline-svg-plugin: on your webpack configuration file svgoConfig option must now go inside HtmlWebpackInlineSVGPlugin({}) instead of HtmlWebpackPlugin({}). Also note the SVGO configuration format has changed and the one you had will need tweaking: https://github.com/theGC/html-webpack-inline-svg-plugin#config')
194194
}
195195

196196
}

0 commit comments

Comments
 (0)