Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann-S <johann.servoire@gmail.com>2018-10-14 14:59:51 +0300
committerXhmikosR <xhmikosr@gmail.com>2018-10-20 15:32:09 +0300
commitc08652cfe84051184570d704d3a0904e8d01358c (patch)
tree789d1a191cfd9fbc6632b564d756eae42cf9cd40 /build/build-plugins.js
parentcaefd7046372e954d21550bbdadcabf98b2a86f0 (diff)
swipe left/right without hammerjs
Diffstat (limited to 'build/build-plugins.js')
-rw-r--r--build/build-plugins.js11
1 files changed, 5 insertions, 6 deletions
diff --git a/build/build-plugins.js b/build/build-plugins.js
index 299f502d9d..1de65b426d 100644
--- a/build/build-plugins.js
+++ b/build/build-plugins.js
@@ -5,10 +5,10 @@
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
-const path = require('path')
-const rollup = require('rollup')
-const babel = require('rollup-plugin-babel')
-const banner = require('./banner.js')
+const path = require('path')
+const rollup = require('rollup')
+const babel = require('rollup-plugin-babel')
+const banner = require('./banner.js')
const TEST = process.env.NODE_ENV === 'test'
const plugins = [
@@ -41,9 +41,8 @@ const rootPath = TEST ? '../js/coverage/dist/' : '../js/dist/'
function build(plugin) {
console.log(`Building ${plugin} plugin...`)
- const external = ['hammerjs', 'jquery', 'popper.js']
+ const external = ['jquery', 'popper.js']
const globals = {
- hammerjs: 'Hammer',
jquery: 'jQuery', // Ensure we use jQuery which is always available even in noConflict mode
'popper.js': 'Popper'
}