Closed smmoosavi closed 2 years ago
A minimal repo to reproduce the error.
I'm having this issue also. Could it be typescript related?
Probably a svelte version mismatch. I believe svelte should be a peerDependency of the library instead of a direct dependency.
I believe this should be fixed in the latest release.
I started a default svelte app and added
svelte-relay
, and then I got this error. Did I miss any things?error:
app.svelte:
environment.ts:
main.ts:
package.json dependencies:
Also, I have to add the
replace
plugin to the rollup config.