Skip to content

Commit

Permalink
fix: fix babel plugin xstyled
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge committed Feb 17, 2021
1 parent 75abc44 commit cc68dcf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion smooth-doc/gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,12 @@ module.exports = (options) => {
modules: ['smooth-doc'],
},
},
'gatsby-plugin-styled-components',
{
resolve: 'gatsby-plugin-styled-components',
options: {
topLevelImportPaths: ['@xstyled/styled-components'],
},
},
'gatsby-remark-images',
'gatsby-plugin-catch-links',
{
Expand Down

0 comments on commit cc68dcf

Please sign in to comment.