@sanity/debug-live-sync-tags
1.0.71.0.8
dist/index.js~
dist/index.jsModified+14−20
Index: package/dist/index.js
===================================================================
--- package/dist/index.js
+++ package/dist/index.js
@@ -1,24 +1,18 @@
import { lazy } from "react";
import { definePlugin } from "sanity";
const ToolComponent = lazy(() => import("./_chunks-es/Tool.js")), debugLiveSyncTags = definePlugin((config) => {
- const {
- name = "debug-live-sync-tags",
- title = "Debug Live Sync Tags",
- icon,
- ...options
- } = config || {};
- return {
- name: "@sanity/debug-live-sync-tags",
- tools: [{
- name,
- title,
- icon,
- component: ToolComponent,
- options
- }]
- };
+ let { name = "debug-live-sync-tags", title = "Debug Live Sync Tags", icon, ...options } = config || {};
+ return {
+ name: "@sanity/debug-live-sync-tags",
+ tools: [{
+ name,
+ title,
+ icon,
+ component: ToolComponent,
+ options
+ }]
+ };
});
-export {
- debugLiveSyncTags
-};
-//# sourceMappingURL=index.js.map
+export { debugLiveSyncTags };
+
+//# sourceMappingURL=index.js.map
\ No newline at end of file