Skip to content

Commit

Permalink
fix: 🐛 revert bug introduced that caused css to be excluded
Browse files Browse the repository at this point in the history
  • Loading branch information
nickreese committed Oct 8, 2021
1 parent 7c9f541 commit 31dfe29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/images/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ const plugin = {
}

// if false the plugin shouldn't add any of it's own styles.
plugin.addStyles = typeof plugin.cssString === 'string' && plugin.cssString.length > 0;
plugin.addStyles = typeof plugin.config.cssString === 'string' && plugin.config.cssString.length > 0;

plugin.imagesToProcess = []; // no images to process by default
plugin.manifest = {};
Expand Down
2 changes: 1 addition & 1 deletion packages/images/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 31dfe29

Please sign in to comment.