fix: Specifies type of package as module #201
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In the process of changing framework from Gatsby to Astro, I have stumbled on a build error while using React SSR with astro using this package.
Description
This change involves specifying the type of the package to module, wich seems to be the intended type.
Linking this package locally and setting a component using the prismicio to render with SSR works great, for example:
It also keep working for clientside only rendered components.
Resolves: #193
Checklist:
Thanks for your time :)
Instead of an animal or car picture, here is a smiling EN57
Pic by MOs810 on Wikimedia