]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Revert "build/*.js: set `sourceType` to module."
authorXhmikosR <xhmikosr@gmail.com>
Wed, 28 Nov 2018 11:03:28 +0000 (13:03 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Wed, 28 Nov 2018 12:33:29 +0000 (14:33 +0200)
This reverts commit b442ce3130808dc28fe897f610bef1e9ab9c792f.

build/.eslintrc.json
build/banner.js
build/build-plugins.js
build/change-version.js
build/generate-sri.js
build/postcss.config.js
build/rollup.config.js
build/vnu-jar.js

index 220b6e1e56a4f7afbe6b4ceb6858b72c06c13590..76e7f37b6348334aeae551261b2484708e9a7d41 100644 (file)
@@ -4,7 +4,7 @@
     "node": true
   },
   "parserOptions": {
-    "sourceType": "module"
+    "sourceType": "script"
   },
   "extends": "../.eslintrc.json",
   "rules": {
index 93935bfcb91b51e01ebad32d5022ee16dee2707e..915117837830e41f10ee98268a8023e6bc1144fb 100644 (file)
@@ -1,3 +1,5 @@
+'use strict'
+
 const path  = require('path')
 const pkg   = require(path.resolve(__dirname, '../package.json'))
 const year  = new Date().getFullYear()
index ec337f03ee12e38070f5e895a6b278f2cde9c9b0..3240ee5d0538f978419c599948ddbd59b09b3cce 100644 (file)
@@ -5,6 +5,8 @@
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
  */
 
+'use strict'
+
 const path    = require('path')
 const rollup  = require('rollup')
 const babel   = require('rollup-plugin-babel')
index 192c627101aa329e4986204d3833d228f22dad15..7102dc0830d2986e49a41540fa251203b540e763 100755 (executable)
@@ -7,6 +7,8 @@
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
  */
 
+'use strict'
+
 const fs = require('fs')
 const path = require('path')
 const sh = require('shelljs')
index 6929097703eca5a608859c7074919cf9645b65c2..cd80ce7199b0dc9114628b31f9bc7be11c124b8b 100644 (file)
@@ -10,6 +10,8 @@
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
  */
 
+'use strict'
+
 const crypto = require('crypto')
 const fs = require('fs')
 const path = require('path')
index 7394ba382e8dbd92be36825c92251376cc92a08e..157291ffd2e2a77e2ff31f64b547cb5d83b2c95c 100644 (file)
@@ -1,3 +1,5 @@
+'use strict'
+
 module.exports = (ctx) => ({
   map: ctx.file.dirname.includes('examples') ? false : {
     inline: false,
index c8acf7a9e92b9d94d80cf98fd4d0b92a63458218..e81a07ef58b27e4dc9ffdf01a67581cb00fb6b31 100644 (file)
@@ -1,3 +1,5 @@
+'use strict'
+
 const path    = require('path')
 const babel   = require('rollup-plugin-babel')
 const resolve = require('rollup-plugin-node-resolve')
index 362dd3c30d70ebc4e2a41cd6ee40d29a6aa9dcba..b990ba7b78ed260143bbcf66324fb56df0a61767 100644 (file)
@@ -7,6 +7,8 @@
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
  */
 
+'use strict'
+
 const childProcess = require('child_process')
 const vnu = require('vnu-jar')