23 lines
859 B
JavaScript
23 lines
859 B
JavaScript
// Caution:
|
|
// Do not replace this import statement with codes.
|
|
//
|
|
// If you replace this import statement with codes,
|
|
// the codes will be executed after the following polyfills are imported
|
|
// because import statements are hoisted during compilation.
|
|
import './polyfill-switches';
|
|
|
|
// Polyfill ECMAScript standard features with global namespace pollution
|
|
import 'core-js/fn/object/set-prototype-of';
|
|
import 'core-js/fn/set';
|
|
import 'core-js/fn/map';
|
|
import 'core-js/fn/weak-map';
|
|
import 'core-js/fn/array/from';
|
|
|
|
// Polyfill Custom Elements v1 with global namespace pollution
|
|
import '@onsenui/custom-elements/src/custom-elements';
|
|
|
|
// Polyfill MutationObserver with global namespace pollution
|
|
import './MutationObserver@0.7.22/MutationObserver.js';
|
|
|
|
// Polyfill setImmediate with global namespace pollution
|
|
import './setImmediate@1.0.2+mod/setImmediate.js'; |