Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

Component not working with Gatsby js #135

Open
ycgarrido opened this issue Oct 29, 2018 · 1 comment
Open

Component not working with Gatsby js #135

ycgarrido opened this issue Oct 29, 2018 · 1 comment

Comments

@ycgarrido
Copy link

image

image

@ryan-roemer
Copy link
Member

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.:

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants