@sanity/debug-live-sync-tags
1.0.131.0.14
dist/index.js.map~
dist/index.js.mapModified+1−1
Index: package/dist/index.js.map
===================================================================
--- package/dist/index.js.map
+++ package/dist/index.js.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"index.js","names":["lazy","definePlugin","Plugin","ToolComponent","PluginConfig","name","title","icon","React","ComponentType","debugLiveSyncTags","config","options","tools","component"],"sources":["../src/plugin.tsx"],"sourcesContent":["import {lazy} from 'react'\nimport {definePlugin, type Plugin} from 'sanity'\n\nconst ToolComponent = lazy(() => import('./components/Tool'))\n\ninterface PluginConfig {\n name?: string\n title?: string\n icon?: React.ComponentType\n}\n\nexport const debugLiveSyncTags: Plugin<PluginConfig | void> = definePlugin((config) => {\n const {\n name = 'debug-live-sync-tags',\n title = 'Debug Live Sync Tags',\n icon,\n ...options\n } = config || {}\n\n return {\n name: '@sanity/debug-live-sync-tags',\n tools: [\n {\n name,\n title,\n icon,\n component: ToolComponent,\n options,\n },\n ],\n }\n})\n"],"mappings":";;AAGA,MAAMG,gBAAgBH,WAAW,OAAO,qBAAoB,GAQ/CU,oBAAiDT,cAAcU,WAAW;CACrF,IAAM,EACJN,OAAO,wBACPC,QAAQ,wBACRC,MACA,GAAGK,YACDD,UAAU,CAAC;CAEf,OAAO;EACLN,MAAM;EACNQ,OAAO,CACL;GACER;GACAC;GACAC;GACAO,WAAWX;GACXS;EACF,CAAC;CAEL;AACF,CAAC"}
\ No newline at end of file
+{"version":3,"file":"index.js","names":["lazy","definePlugin","Plugin","ToolComponent","PluginConfig","name","title","icon","React","ComponentType","debugLiveSyncTags","config","options","tools","component"],"sources":["../src/plugin.tsx"],"sourcesContent":["import {lazy} from 'react'\nimport {definePlugin, type Plugin} from 'sanity'\n\nconst ToolComponent = lazy(() => import('./components/Tool'))\n\ninterface PluginConfig {\n name?: string\n title?: string\n icon?: React.ComponentType\n}\n\nexport const debugLiveSyncTags: Plugin<PluginConfig | void> = definePlugin((config) => {\n const {\n name = 'debug-live-sync-tags',\n title = 'Debug Live Sync Tags',\n icon,\n ...options\n } = config || {}\n\n return {\n name: '@sanity/debug-live-sync-tags',\n tools: [\n {\n name,\n title,\n icon,\n component: ToolComponent,\n options,\n },\n ],\n }\n})\n"],"mappings":";;;AAGA,MAAMG,gBAAgBH,WAAW,OAAO,qBAAoB,GAQ/CU,oBAAiDT,cAAcU,WAAW;CACrF,IAAM,EACJN,OAAO,wBACPC,QAAQ,wBACRC,MACA,GAAGK,YACDD,UAAU,CAAC;CAEf,OAAO;EACLN,MAAM;EACNQ,OAAO,CACL;GACER;GACAC;GACAC;GACAO,WAAWX;GACXS;EACF,CAAC;CAEL;AACF,CAAC"}
\ No newline at end of file