Closed aliceHendicott closed 2 years ago
@aliceHendicott thanks a lot for your contribution! I really appreciate it. Since I didn't have time to test it properly and don't want to jeopardize other projects relying on a different export, I gave it a new major version. It's now released as version 2.0.0
please let me know if there is a need for other changes.
This PR sets up a fix for https://github.com/signalwerk/gatsby-remark-table-of-contents/issues/28
Alter
output.exports
in the rollup config to bedefault
for cjs output.I have tested this fix when using the
gatsby-remark-table-of-contents
plugin with bothgatsby-plugin-mdx
andgatsby-transformer-remark
and this new config works with both.