]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Move js/src/index.js one folder up (#32001)
authorXhmikosR <xhmikosr@gmail.com>
Sun, 1 Nov 2020 05:31:17 +0000 (07:31 +0200)
committerGitHub <noreply@github.com>
Sun, 1 Nov 2020 05:31:17 +0000 (07:31 +0200)
build/rollup.config.js
js/index.js [new file with mode: 0644]
js/src/index.js [deleted file]

index 6294204cde7e0b2289446a69904db58a78da1264..e2d2b125efe6a7ca5ead2d49be00b548a42feb7a 100644 (file)
@@ -31,7 +31,7 @@ if (BUNDLE) {
 }
 
 module.exports = {
-  input: path.resolve(__dirname, '../js/src/index.js'),
+  input: path.resolve(__dirname, '../js/index.js'),
   output: {
     banner,
     file: path.resolve(__dirname, `../dist/js/${fileDest}`),
diff --git a/js/index.js b/js/index.js
new file mode 100644 (file)
index 0000000..e5dcc84
--- /dev/null
@@ -0,0 +1,34 @@
+/**
+ * --------------------------------------------------------------------------
+ * Bootstrap (v4.5.3): index.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 Popover from './src/popover'
+import Scrollspy from './src/scrollspy'
+import Tab from './src/tab'
+import Toast from './src/toast'
+import Tooltip from './src/tooltip'
+import Util from './src/util'
+
+export {
+  Util,
+  Alert,
+  Button,
+  Carousel,
+  Collapse,
+  Dropdown,
+  Modal,
+  Popover,
+  Scrollspy,
+  Tab,
+  Toast,
+  Tooltip
+}
diff --git a/js/src/index.js b/js/src/index.js
deleted file mode 100644 (file)
index f407cff..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-import Alert from './alert'
-import Button from './button'
-import Carousel from './carousel'
-import Collapse from './collapse'
-import Dropdown from './dropdown'
-import Modal from './modal'
-import Popover from './popover'
-import Scrollspy from './scrollspy'
-import Tab from './tab'
-import Toast from './toast'
-import Tooltip from './tooltip'
-import Util from './util'
-
-/**
- * --------------------------------------------------------------------------
- * Bootstrap (v4.5.3): index.js
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
- * --------------------------------------------------------------------------
- */
-
-export {
-  Util,
-  Alert,
-  Button,
-  Carousel,
-  Collapse,
-  Dropdown,
-  Modal,
-  Popover,
-  Scrollspy,
-  Tab,
-  Toast,
-  Tooltip
-}