component-playground
component-playground copied to clipboard
Component not working with Gatsby js
Your code is failing on basic ESM imports. We publish both ESM and CommonJS files, so there's very likely something at issue with the gatsby build setup, namely needing to handle ESM with package.json:module
or using CJS via package.json:main
. See, e.g.:
- ESM: https://unpkg.com/[email protected]/es/
- CommonJS: https://unpkg.com/[email protected]/lib/
Can you please provide a minimal repository with install + build instructions to see the issue or a CodeSandbox? This will make it much more tractable to help you out. Thanks!
/cc @rgerstenberger @boygirl