Operation-Nation / sanity-plugin-schema-markup

MIT License
14 stars 8 forks source link

cant import { SchemaScript } #11

Closed leo-paz closed 5 months ago

leo-paz commented 6 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.

Importing import { schemaMarkup } from '@operationnation/sanity-plugin-schema-markup'; in my sanity studio project does work.

mwritter commented 5 months ago

Im experiencing the same issue 🙏

Module '"@operationnation/sanity-plugin-schema-markup"' has no exported member 'SchemaScript'.

Screen Shot 2024-05-22 at 14 00 56 PM

It looks like this was already reported in #8