aboutsummaryrefslogtreecommitdiff
path: root/js/tests/integration/bundle.js
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2019-03-01 11:11:41 +0200
committerXhmikosR <[email protected]>2019-03-11 17:59:08 +0200
commit2fd50f98a53874d89aa60c9a698464ce1a0b7bfc (patch)
tree198b94215d4cffce968b6c7b50f3d8855f5dc408 /js/tests/integration/bundle.js
parent3ffe3a5d82f6f561b82ff78d82b32a7d14aed558 (diff)
downloadbootstrap-2fd50f98a53874d89aa60c9a698464ce1a0b7bfc.tar.xz
bootstrap-2fd50f98a53874d89aa60c9a698464ce1a0b7bfc.zip
build bootstrap in esm
Diffstat (limited to 'js/tests/integration/bundle.js')
-rw-r--r--js/tests/integration/bundle.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/js/tests/integration/bundle.js b/js/tests/integration/bundle.js
index 5597cd063..ace578b31 100644
--- a/js/tests/integration/bundle.js
+++ b/js/tests/integration/bundle.js
@@ -1,7 +1,9 @@
import 'popper.js'
-import bootstrap from '../../../dist/js/bootstrap'
+import {
+ Tooltip
+} from '../../../dist/js/bootstrap.esm.js'
window.addEventListener('load', () => {
[...document.querySelectorAll('[data-toggle="tooltip"]')]
- .map(tooltipNode => new bootstrap.Tooltip(tooltipNode))
+ .map(tooltipNode => new Tooltip(tooltipNode))
})