gatsby-plugin-preact: Can't resolve 'react/jsx-runtime' with @mui/material
#35145
Closed
2 tasks done
Labels
topic: plugins
Related to plugin system, themes & catch-all for plugins that don't have a label
type: bug
An issue or pull request relating to a bug in Gatsby
Preliminary Checks
Description
Hi. I get an error when using
gatsby-plugin-preact
with@mui/material
:Reproduction Link
https://github.com/mikhin/my-gatsby-site
Steps to Reproduce
import Slider from "@mui/material/Slider";
npx gatsby build
Expected Result
Successful build
Actual Result
Build process finished with error
Environment
Config Flags
No response
EDIT:
Adding of code
to
gatsby-node.js
solves this issue, but it is a redundant measure, isn't it?The text was updated successfully, but these errors were encountered: