You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I remove this, it builds as expected albeit without some of the overridden styles. I don't know if this is a smooth-docs or xstyled issue so please let me know if I should raise this as an issue against xstyled instead.
This is a bug in babel-plugin-styled-components, please fix it to v2.0.2. I don't have time right now to fix it in the babel plugin, if someone want to do it feel free. For now add in your package.json:
First off thanks for this amazing starter @gregberge! it's really helped me get a docs site up quickly.
🐛 Bug Report
I've run into an issue if I upgrade Smooth Docs to v9. When running
gatsby build
I get the following error:I've done some debugging myself and narrowed it down to the following in
gatsby-config.js:57
If I remove this, it builds as expected albeit without some of the overridden styles. I don't know if this is a smooth-docs or xstyled issue so please let me know if I should raise this as an issue against xstyled instead.
To Reproduce
Steps to reproduce the behavior:
Upgrade smooth-doc to
^9.0.0
Expected behavior
Gatsby to build without errors.
Link to repl or repo (highly encouraged)
Repro repo - https://github.com/xaviemirmon/smooth-doc-compile-error-repro
Run
npx envinfo --system --binaries --npmPackages smooth-doc,gatsby,react,react-dom --markdown --clipboard
The text was updated successfully, but these errors were encountered: