mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-03 05:11:03 -04:00
20 lines
708 B
JavaScript
20 lines
708 B
JavaScript
// JS Module used to combine all the JS modules used in the application into a single entry point,
|
|
// a bit like `app/__init__` in the Flask app.
|
|
//
|
|
// When processed by a bundler, this is turned into a Immediately Invoked Function Expression (IIFE)
|
|
// The IIFE format allows it to run in browsers that don't support JS Modules.
|
|
//
|
|
// Exported items will be added to the window.NotifyModules namespace.
|
|
|
|
// Modules from 3rd party vendors
|
|
import morphdom from 'morphdom';
|
|
|
|
var vendor = {
|
|
morphdom: morphdom,
|
|
};
|
|
|
|
// The exported object will be assigned to window in our production code
|
|
// (bundled into an IIFE by RollupJS)
|
|
// Export morphdom globally for backward compatibility
|
|
export { morphdom, vendor };
|