1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-25 06:21:26 +02:00

build/*.js: ES6-ify files. (#24112)

This commit is contained in:
XhmikosR
2017-09-26 15:14:52 +03:00
committed by GitHub
parent 17fd2c9f84
commit 3bc9402350
2 changed files with 22 additions and 26 deletions

View File

@@ -5,8 +5,8 @@ const pkg = require(path.resolve(__dirname, '../package.json'))
const BUNDLE = process.env.BUNDLE === 'true'
const year = new Date().getFullYear()
var fileDest = 'bootstrap.js'
var external = ['jquery', 'popper.js']
let fileDest = 'bootstrap.js'
const external = ['jquery', 'popper.js']
const plugins = [
babel({
exclude: 'node_modules/**', // only transpile our source code