Bläddra i källkod

global namespace for webcomponent

Adam Shaw 3 år sedan
förälder
incheckning
ff65f824a1
2 ändrade filer med 3 tillägg och 0 borttagningar
  1. 1 0
      packages/web-component/package.json
  2. 2 0
      packages/web-component/src/index.iife.ts

+ 1 - 0
packages/web-component/package.json

@@ -35,6 +35,7 @@
       "./global": {}
     },
     "iifeGlobals": {
+      ".": "FullCalendarWebComponent",
       "tslib": ""
     }
   },

+ 2 - 0
packages/web-component/src/index.iife.ts

@@ -1 +1,3 @@
 import './global.js'
+
+export { FullCalendarElement } from './FullCalendarElement.js'