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
path: root/build
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2017-10-31 13:41:03 +0300
committerGitHub <noreply@github.com>2017-10-31 13:41:03 +0300
commit271f5071a306f93074b13c976a411e646bb3eb80 (patch)
tree909473ef69f4619bce859c7dace897e790621a81 /build
parent0570087ac3efa7108568358301c7497f0d96a5ce (diff)
build/*.js: es6ify. (#24611)
Diffstat (limited to 'build')
-rw-r--r--build/rollup.config.js6
-rw-r--r--build/vnu-jar.js2
-rw-r--r--build/workbox.js2
3 files changed, 5 insertions, 5 deletions
diff --git a/build/rollup.config.js b/build/rollup.config.js
index f9a4706160..44ffac7100 100644
--- a/build/rollup.config.js
+++ b/build/rollup.config.js
@@ -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}
diff --git a/build/vnu-jar.js b/build/vnu-jar.js
index f69d801411..6f24340254 100644
--- a/build/vnu-jar.js
+++ b/build/vnu-jar.js
@@ -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
diff --git a/build/workbox.js b/build/workbox.js
index bae5b35ccb..17129ec8c3 100644
--- a/build/workbox.js
+++ b/build/workbox.js
@@ -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`