aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorGeoSot <[email protected]>2021-06-10 16:13:51 +0300
committerGeoSot <[email protected]>2021-07-20 14:03:18 +0300
commit9ddf0864cb34c4cf825b063fa310136d2689cad3 (patch)
tree09f67e37ea8a6899cf1ee8589b4b05700e00f87c /js
parent2721f6042bc8106e35c3db21f382fc968bfce931 (diff)
downloadbootstrap-gs-use-only-one-file-as-input-on-rollup.config.tar.xz
bootstrap-gs-use-only-one-file-as-input-on-rollup.config.zip
Use one unique index file as input on rollup.config.jsgs-use-only-one-file-as-input-on-rollup.config
Diffstat (limited to 'js')
-rw-r--r--js/index.js (renamed from js/index.esm.js)2
-rw-r--r--js/index.umd.js34
2 files changed, 1 insertions, 35 deletions
diff --git a/js/index.esm.js b/js/index.js
index 61c70a3cc..c9ba1bbaf 100644
--- a/js/index.esm.js
+++ b/js/index.js
@@ -18,7 +18,7 @@ import Tab from './src/tab'
import Toast from './src/toast'
import Tooltip from './src/tooltip'
-export {
+export default {
Alert,
Button,
Carousel,
diff --git a/js/index.umd.js b/js/index.umd.js
deleted file mode 100644
index 068db8e70..000000000
--- a/js/index.umd.js
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * --------------------------------------------------------------------------
- * Bootstrap (v5.0.2): index.umd.js
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
- * --------------------------------------------------------------------------
- */
-
-import Alert from './src/alert'
-import Button from './src/button'
-import Carousel from './src/carousel'
-import Collapse from './src/collapse'
-import Dropdown from './src/dropdown'
-import Modal from './src/modal'
-import Offcanvas from './src/offcanvas'
-import Popover from './src/popover'
-import ScrollSpy from './src/scrollspy'
-import Tab from './src/tab'
-import Toast from './src/toast'
-import Tooltip from './src/tooltip'
-
-export default {
- Alert,
- Button,
- Carousel,
- Collapse,
- Dropdown,
- Modal,
- Offcanvas,
- Popover,
- ScrollSpy,
- Tab,
- Toast,
- Tooltip
-}