diff options
| author | Johann-S <[email protected]> | 2019-03-01 11:11:41 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2019-03-11 17:59:08 +0200 |
| commit | 2fd50f98a53874d89aa60c9a698464ce1a0b7bfc (patch) | |
| tree | 198b94215d4cffce968b6c7b50f3d8855f5dc408 /js/tests/integration/bundle.js | |
| parent | 3ffe3a5d82f6f561b82ff78d82b32a7d14aed558 (diff) | |
| download | bootstrap-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.js | 6 |
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)) }) |
