UNPKG

ebt-vue

Version:

Vue/Vuetify component library for EBT-Site

14 lines (11 loc) 472 B
// iife/cjs usage extends esm default export - so import it all import plugin, * as components from './entry.esm'; // Attach named exports directly to plugin. IIFE/CJS will // only expose one global var, with component exports exposed as properties of // that global var (eg. plugin.component) Object.entries(components).forEach(([componentName, component]) => { if (componentName !== 'default') { plugin[componentName] = component; } }); export default plugin;