Clean
This commit is contained in:
14
sigpro-ui_IIFE.js
Normal file
14
sigpro-ui_IIFE.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import * as All from './sigpro-ui.js';
|
||||
export const Components = { ...All };
|
||||
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
Object.entries({ ...Components}).forEach(([name, value]) => {
|
||||
Object.defineProperty(window, name, {
|
||||
value,
|
||||
writable: false,
|
||||
configurable: true,
|
||||
enumerable: true
|
||||
});
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user