aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2022-01-13 13:12:10 +0200
committerGitHub <[email protected]>2022-01-13 13:12:10 +0200
commitc99fa6ca266fd781294a1fe5ffd307478c42c510 (patch)
treee75f142d7a39b909deb914362dc50a2471aa41a8 /build
parent14c7dc1e886015f2ed845f0f8e88d3597694250f (diff)
downloadbootstrap-c99fa6ca266fd781294a1fe5ffd307478c42c510.tar.xz
bootstrap-c99fa6ca266fd781294a1fe5ffd307478c42c510.zip
build-plugins.js: use globby package (#35586)
We already use it in the change-version.js file
Diffstat (limited to 'build')
-rw-r--r--build/build-plugins.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/build-plugins.js b/build/build-plugins.js
index 64ad6d234..401c67601 100644
--- a/build/build-plugins.js
+++ b/build/build-plugins.js
@@ -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 = []