Closed leo-paz closed 5 months ago
Hi,
Really appreciate the plugin you've built for sanity. It works well in sanity but when I try to import it like so
import { SchemaScript } from "@operationnation/sanity-plugin-schema-markup"
my ts config has "moduleResolution": "node" in it but i tried to switch it to use bundler but still got the issue.
"moduleResolution": "node"
bundler
Importing import { schemaMarkup } from '@operationnation/sanity-plugin-schema-markup'; in my sanity studio project does work.
import { schemaMarkup } from '@operationnation/sanity-plugin-schema-markup';
Im experiencing the same issue 🙏
Module '"@operationnation/sanity-plugin-schema-markup"' has no exported member 'SchemaScript'.
It looks like this was already reported in #8
Hi,
Really appreciate the plugin you've built for sanity. It works well in sanity but when I try to import it like so
import { SchemaScript } from "@operationnation/sanity-plugin-schema-markup"
my ts config has
"moduleResolution": "node"
in it but i tried to switch it to usebundler
but still got the issue.Importing
import { schemaMarkup } from '@operationnation/sanity-plugin-schema-markup';
in my sanity studio project does work.