Replies: 1 comment 3 replies
-
You're using a version of remark plugins that is ESM only. You'll have to downgrade remark plugins by one major version to use the CommonJS version. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Trying to add some plugins to render math equations in my blog (Created with the theme lekoarts/gatsby-theme-minimal-blog), I used the recommended way in the documentation
However, Gatsby complains about the use of
require
ingatsby-config.js
If
require
is not supported in thegatsby-config.js
file, I believe it shouldn't appear as a recommended way of adding plugins in the documentation.Looking around, I couldn't find a way to provide the plugins to
gatsby-plugin-mdx
.Beta Was this translation helpful? Give feedback.
All reactions