2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03: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
+2 -2
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