diff options
author | XhmikosR <xhmikosr@gmail.com> | 2018-08-12 21:28:57 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2018-08-12 22:22:12 +0300 |
commit | b442ce3130808dc28fe897f610bef1e9ab9c792f (patch) | |
tree | 67955bad51a6e6c2bbcbbf456574d90a92dac6d3 /build | |
parent | acd19de6a9258056583f479b4b2faa0bec7bfb07 (diff) |
build/*.js: set `sourceType` to module.
Diffstat (limited to 'build')
-rw-r--r-- | build/.eslintrc.json | 2 | ||||
-rw-r--r-- | build/build-plugins.js | 2 | ||||
-rwxr-xr-x | build/change-version.js | 2 | ||||
-rw-r--r-- | build/generate-sri.js | 2 | ||||
-rw-r--r-- | build/lint-vars.js | 2 | ||||
-rw-r--r-- | build/postcss.config.js | 2 | ||||
-rw-r--r-- | build/rollup.config.js | 2 | ||||
-rw-r--r-- | build/saucelabs-unit-test.js | 2 | ||||
-rw-r--r-- | build/vnu-jar.js | 2 | ||||
-rw-r--r-- | build/workbox.js | 2 |
10 files changed, 1 insertions, 19 deletions
diff --git a/build/.eslintrc.json b/build/.eslintrc.json index 76e7f37b63..220b6e1e56 100644 --- a/build/.eslintrc.json +++ b/build/.eslintrc.json @@ -4,7 +4,7 @@ "node": true }, "parserOptions": { - "sourceType": "script" + "sourceType": "module" }, "extends": "../.eslintrc.json", "rules": { diff --git a/build/build-plugins.js b/build/build-plugins.js index 22a1790669..4e34b54c28 100644 --- a/build/build-plugins.js +++ b/build/build-plugins.js @@ -5,8 +5,6 @@ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ -'use strict' - const rollup = require('rollup') const path = require('path') const babel = require('rollup-plugin-babel') diff --git a/build/change-version.js b/build/change-version.js index 7102dc0830..192c627101 100755 --- a/build/change-version.js +++ b/build/change-version.js @@ -7,8 +7,6 @@ * 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') diff --git a/build/generate-sri.js b/build/generate-sri.js index 10936e8a1b..4d5c25c44e 100644 --- a/build/generate-sri.js +++ b/build/generate-sri.js @@ -10,8 +10,6 @@ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ -'use strict' - const fs = require('fs') const path = require('path') const sriToolbox = require('sri-toolbox') diff --git a/build/lint-vars.js b/build/lint-vars.js index 1b8d71cc69..8873d3670a 100644 --- a/build/lint-vars.js +++ b/build/lint-vars.js @@ -7,8 +7,6 @@ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ -'use strict' - const fs = require('fs') const path = require('path') const glob = require('glob') diff --git a/build/postcss.config.js b/build/postcss.config.js index 157291ffd2..7394ba382e 100644 --- a/build/postcss.config.js +++ b/build/postcss.config.js @@ -1,5 +1,3 @@ -'use strict' - module.exports = (ctx) => ({ map: ctx.file.dirname.includes('examples') ? false : { inline: false, diff --git a/build/rollup.config.js b/build/rollup.config.js index 93370d31da..df88fb304d 100644 --- a/build/rollup.config.js +++ b/build/rollup.config.js @@ -1,5 +1,3 @@ -'use strict' - const path = require('path') const babel = require('rollup-plugin-babel') const resolve = require('rollup-plugin-node-resolve') diff --git a/build/saucelabs-unit-test.js b/build/saucelabs-unit-test.js index b4d952536d..a84aa1dfef 100644 --- a/build/saucelabs-unit-test.js +++ b/build/saucelabs-unit-test.js @@ -12,8 +12,6 @@ Win Opera 15+ is not currently supported by Sauce Labs iOS Chrome is not currently supported by Sauce Labs */ -'use strict' - const path = require('path') const JSUnitSaucelabs = require('jsunitsaucelabs') diff --git a/build/vnu-jar.js b/build/vnu-jar.js index 111e034099..5fd214a9d0 100644 --- a/build/vnu-jar.js +++ b/build/vnu-jar.js @@ -7,8 +7,6 @@ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ -'use strict' - const childProcess = require('child_process') const vnu = require('vnu-jar') diff --git a/build/workbox.js b/build/workbox.js index 3a7ba450a8..a8d9551585 100644 --- a/build/workbox.js +++ b/build/workbox.js @@ -5,8 +5,6 @@ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ -'use strict' - const fs = require('fs') const path = require('path') const swBuild = require('workbox-build') |