1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Revert "build/*.js: set sourceType to module."

This reverts commit b442ce3130.
This commit is contained in:
XhmikosR 2018-11-28 13:03:28 +02:00
parent 11da160114
commit 05dfae3146
8 changed files with 15 additions and 1 deletions

View file

@ -4,7 +4,7 @@
"node": true
},
"parserOptions": {
"sourceType": "module"
"sourceType": "script"
},
"extends": "../.eslintrc.json",
"rules": {

View file

@ -1,3 +1,5 @@
'use strict'
const path = require('path')
const pkg = require(path.resolve(__dirname, '../package.json'))
const year = new Date().getFullYear()

View 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')

View file

@ -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')

View 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')

View file

@ -1,3 +1,5 @@
'use strict'
module.exports = (ctx) => ({
map: ctx.file.dirname.includes('examples') ? false : {
inline: false,

View file

@ -1,3 +1,5 @@
'use strict'
const path = require('path')
const babel = require('rollup-plugin-babel')
const resolve = require('rollup-plugin-node-resolve')

View 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')