diff options
| author | XhmikosR <[email protected]> | 2017-09-28 17:25:28 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-09-28 17:25:28 +0300 |
| commit | 502ac7ee4d13669e644b9181f1e014ce0ea1f089 (patch) | |
| tree | bccf9e2d6b1eed69e5bed78fbfba410b23478b1a /build | |
| parent | fe06814f3e3c72f36bb2ab96df206cc564fb74b0 (diff) | |
| download | bootstrap-502ac7ee4d13669e644b9181f1e014ce0ea1f089.tar.xz bootstrap-502ac7ee4d13669e644b9181f1e014ce0ea1f089.zip | |
Lint docs js too and use `strict consistently. (#24160)
Diffstat (limited to 'build')
| -rw-r--r-- | build/postcss.config.js | 2 | ||||
| -rw-r--r-- | build/rollup.config.js | 2 | ||||
| -rw-r--r-- | build/workbox.js | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/build/postcss.config.js b/build/postcss.config.js index 721e467c6..b34a0ce46 100644 --- a/build/postcss.config.js +++ b/build/postcss.config.js @@ -1,3 +1,5 @@ +'use strict' + module.exports = (ctx) => ({ map: ctx.file.dirname.startsWith('docs') ? false : { inline: false, diff --git a/build/rollup.config.js b/build/rollup.config.js index 0f1a023e8..9faeb0882 100644 --- a/build/rollup.config.js +++ b/build/rollup.config.js @@ -1,3 +1,5 @@ +'use strict' + const path = require('path') const babel = require('rollup-plugin-babel') const resolve = require('rollup-plugin-node-resolve') diff --git a/build/workbox.js b/build/workbox.js index 9d2bec27e..bae5b35cc 100644 --- a/build/workbox.js +++ b/build/workbox.js @@ -1,3 +1,5 @@ +'use strict' + const fs = require('fs') const path = require('path') const swBuild = require('workbox-build') |
