diff options
| author | Johann-S <[email protected]> | 2020-06-19 11:17:01 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2020-12-06 18:42:40 +0200 |
| commit | adfdf7160b5822aae12eea677e7dd3128d2569bf (patch) | |
| tree | dc09bbdff9ce3457867d28aadc583f0de6da0ec2 /js/tests/integration | |
| parent | 5f89ea3a0f9b56547eb03b98afcd189b89d7e5a6 (diff) | |
| download | bootstrap-adfdf7160b5822aae12eea677e7dd3128d2569bf.tar.xz bootstrap-adfdf7160b5822aae12eea677e7dd3128d2569bf.zip | |
Update to popper.js v2.x
Diffstat (limited to 'js/tests/integration')
| -rw-r--r-- | js/tests/integration/bundle-modularity.js | 2 | ||||
| -rw-r--r-- | js/tests/integration/bundle.js | 1 | ||||
| -rw-r--r-- | js/tests/integration/rollup.bundle.js | 4 |
3 files changed, 5 insertions, 2 deletions
diff --git a/js/tests/integration/bundle-modularity.js b/js/tests/integration/bundle-modularity.js index 003f84021..8546141b1 100644 --- a/js/tests/integration/bundle-modularity.js +++ b/js/tests/integration/bundle-modularity.js @@ -1,5 +1,5 @@ -import 'popper.js' import Tooltip from '../../dist/tooltip' +import '../../dist/carousel' window.addEventListener('load', () => { [].concat(...document.querySelectorAll('[data-bs-toggle="tooltip"]')) diff --git a/js/tests/integration/bundle.js b/js/tests/integration/bundle.js index 75982f76f..452088a7d 100644 --- a/js/tests/integration/bundle.js +++ b/js/tests/integration/bundle.js @@ -1,4 +1,3 @@ -import 'popper.js' import { Tooltip } from '../../../dist/js/bootstrap.esm.js' window.addEventListener('load', () => { diff --git a/js/tests/integration/rollup.bundle.js b/js/tests/integration/rollup.bundle.js index 9e2ed26c1..288f40961 100644 --- a/js/tests/integration/rollup.bundle.js +++ b/js/tests/integration/rollup.bundle.js @@ -2,6 +2,7 @@ const { babel } = require('@rollup/plugin-babel') const { nodeResolve } = require('@rollup/plugin-node-resolve') +const replace = require('@rollup/plugin-replace') module.exports = { input: 'js/tests/integration/bundle.js', @@ -10,6 +11,9 @@ module.exports = { format: 'iife' }, plugins: [ + replace({ + 'process.env.NODE_ENV': '"production"' + }), nodeResolve(), babel({ exclude: 'node_modules/**', |
