👋 Next.js Conf 2024: Come build, party, run, and connect with us! See all events

User asks for help hiding plugin in production environment

1 replies
Last updated: Jun 8, 2020
Hi everyone!I would like to hide the vision plugin in production. I copied
this example from the doc , but the plugin is still visible in production:
"env": {

"development": {

"plugins": [

"@sanity/vision"

]

}

},
Did I do something wrong?
Jun 8, 2020, 8:58 AM
ah I found out why: I had to remove it from the plugins list.
Jun 8, 2020, 9:07 AM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?