Changeset View
Changeset View
Standalone View
Standalone View
swh/web/assets/src/bundles/vendors/index.js
/** | /** | ||||
* Copyright (C) 2018-2019 The Software Heritage developers | * Copyright (C) 2018-2019 The Software Heritage developers | ||||
* See the AUTHORS file at the top-level directory of this distribution | * See the AUTHORS file at the top-level directory of this distribution | ||||
* License: GNU Affero General Public License version 3, or any later version | * License: GNU Affero General Public License version 3, or any later version | ||||
* See top-level LICENSE file for more information | * See top-level LICENSE file for more information | ||||
*/ | */ | ||||
// vendors bundles centralizing assets used in all swh-web applications | // vendors bundles centralizing assets used in all swh-web applications | ||||
// polyfills in order to use advanced js features (like Promise or fetch) | // polyfills in order to use advanced js features (like Promise or fetch) | ||||
// in browsers that do not support them | // in browsers that do not support them | ||||
import 'core-js/stable'; | import 'core-js/stable'; | ||||
import 'regenerator-runtime/runtime'; | import 'regenerator-runtime/runtime'; | ||||
import 'whatwg-fetch/dist/fetch.umd'; | import 'whatwg-fetch/dist/fetch.umd'; | ||||
import 'elementsfrompoint-polyfill'; | import './elementsfrompoint-polyfill'; | ||||
// jquery and bootstrap | // jquery and bootstrap | ||||
import 'jquery'; | import 'jquery'; | ||||
import 'bootstrap-loader/lib/bootstrap.loader?configFilePath=../../../swh/web/assets/config/.bootstraprc!bootstrap-loader/no-op.js'; | import 'bootstrap-loader/lib/bootstrap.loader?configFilePath=../../../swh/web/assets/config/.bootstraprc!bootstrap-loader/no-op.js'; | ||||
// admin-lte scripts | // admin-lte scripts | ||||
import 'admin-lte'; | import 'admin-lte'; | ||||
Show All 25 Lines |