mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
build-plugins.js: use globby package (#35586)
We already use it in the change-version.js file
This commit is contained in:
parent
14c7dc1e88
commit
c99fa6ca26
@ -11,12 +11,12 @@
|
||||
|
||||
const path = require('path')
|
||||
const rollup = require('rollup')
|
||||
const glob = require('glob')
|
||||
const globby = require('globby')
|
||||
const { babel } = require('@rollup/plugin-babel')
|
||||
const banner = require('./banner.js')
|
||||
|
||||
const srcPath = path.resolve(__dirname, '../js/src/')
|
||||
const jsFiles = glob.sync(srcPath + '/**/*.js')
|
||||
const srcPath = path.resolve(__dirname, '../js/src/').replace(/\\/g, '/')
|
||||
const jsFiles = globby.sync(srcPath + '/**/*.js')
|
||||
|
||||
// Array which holds the resolved plugins
|
||||
const resolvedPlugins = []
|
||||
|
1
package-lock.json
generated
1
package-lock.json
generated
@ -27,7 +27,6 @@
|
||||
"eslint-plugin-import": "^2.25.4",
|
||||
"eslint-plugin-unicorn": "^40.0.0",
|
||||
"find-unused-sass-variables": "^3.1.0",
|
||||
"glob": "^7.2.0",
|
||||
"globby": "^11.0.4",
|
||||
"hammer-simulator": "0.0.1",
|
||||
"hugo-bin": "^0.79.2",
|
||||
|
@ -118,7 +118,6 @@
|
||||
"eslint-plugin-import": "^2.25.4",
|
||||
"eslint-plugin-unicorn": "^40.0.0",
|
||||
"find-unused-sass-variables": "^3.1.0",
|
||||
"glob": "^7.2.0",
|
||||
"globby": "^11.0.4",
|
||||
"hammer-simulator": "0.0.1",
|
||||
"hugo-bin": "^0.79.2",
|
||||
|
Loading…
Reference in New Issue
Block a user