build/*.js: es6ify. (#24611)

This commit is contained in:
XhmikosR 2017-10-31 12:41:03 +02:00 committed by GitHub
parent 0570087ac3
commit 271f5071a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -39,9 +39,9 @@ module.exports = {
format: 'iife'
},
name: 'bootstrap',
external: external,
globals: globals,
plugins: plugins,
external,
globals,
plugins,
banner: `/*!
* Bootstrap v${pkg.version} (${pkg.homepage})
* Copyright 2011-${year} ${pkg.author}

View File

@ -12,7 +12,7 @@
const childProcess = require('child_process')
const vnu = require('vnu-jar')
childProcess.exec('java -version', function (error) {
childProcess.exec('java -version', (error) => {
if (error) {
console.error('Skipping HTML lint test; Java is missing.')
return

View File

@ -8,7 +8,7 @@ const buildPrefix = '_gh_pages/'
const workboxSWSrcPath = require.resolve('workbox-sw')
const wbFileName = path.basename(workboxSWSrcPath)
const workboxSWDestPath = buildPrefix + 'assets/js/vendor/' + wbFileName
const workboxSWDestPath = `${buildPrefix}assets/js/vendor/${wbFileName}`
const workboxSWSrcMapPath = `${workboxSWSrcPath}.map`
const workboxSWDestMapPath = `${workboxSWDestPath}.map`