aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/build
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/twbs/bootstrap/build')
-rw-r--r--vendor/twbs/bootstrap/build/build-plugins.mjs9
-rw-r--r--vendor/twbs/bootstrap/build/change-version.mjs2
-rw-r--r--vendor/twbs/bootstrap/build/generate-sri.mjs2
-rw-r--r--vendor/twbs/bootstrap/build/vnu-jar.mjs2
-rw-r--r--vendor/twbs/bootstrap/build/zip-examples.mjs2
5 files changed, 10 insertions, 7 deletions
diff --git a/vendor/twbs/bootstrap/build/build-plugins.mjs b/vendor/twbs/bootstrap/build/build-plugins.mjs
index 252b4b4b0..f56cd213f 100644
--- a/vendor/twbs/bootstrap/build/build-plugins.mjs
+++ b/vendor/twbs/bootstrap/build/build-plugins.mjs
@@ -2,14 +2,14 @@
/*!
* Script to build our plugins to use them separately.
- * Copyright 2020-2024 The Bootstrap Authors
+ * Copyright 2020-2025 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
import path from 'node:path'
import { fileURLToPath } from 'node:url'
import { babel } from '@rollup/plugin-babel'
-import globby from 'globby'
+import { globby } from 'globby'
import { rollup } from 'rollup'
import banner from './banner.mjs'
@@ -17,7 +17,7 @@ const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(fileURLToPath(import.meta.url))
const sourcePath = path.resolve(__dirname, '../js/src/').replace(/\\/g, '/')
-const jsFiles = globby.sync(`${sourcePath}/**/*.js`)
+const jsFiles = await globby(`${sourcePath}/**/*.js`)
// Array which holds the resolved plugins
const resolvedPlugins = []
@@ -37,6 +37,9 @@ for (const file of jsFiles) {
}
const build = async plugin => {
+ /**
+ * @type {import('rollup').GlobalsOption}
+ */
const globals = {}
const bundle = await rollup({
diff --git a/vendor/twbs/bootstrap/build/change-version.mjs b/vendor/twbs/bootstrap/build/change-version.mjs
index 30cfcc456..dc96119a6 100644
--- a/vendor/twbs/bootstrap/build/change-version.mjs
+++ b/vendor/twbs/bootstrap/build/change-version.mjs
@@ -2,7 +2,7 @@
/*!
* Script to update version number references in the project.
- * Copyright 2017-2024 The Bootstrap Authors
+ * Copyright 2017-2025 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
diff --git a/vendor/twbs/bootstrap/build/generate-sri.mjs b/vendor/twbs/bootstrap/build/generate-sri.mjs
index 384e8f428..9e579527e 100644
--- a/vendor/twbs/bootstrap/build/generate-sri.mjs
+++ b/vendor/twbs/bootstrap/build/generate-sri.mjs
@@ -5,7 +5,7 @@
* Remember to use the same vendor files as the CDN ones,
* otherwise the hashes won't match!
*
- * Copyright 2017-2024 The Bootstrap Authors
+ * Copyright 2017-2025 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
diff --git a/vendor/twbs/bootstrap/build/vnu-jar.mjs b/vendor/twbs/bootstrap/build/vnu-jar.mjs
index 18a35bdff..f0ec1ef5c 100644
--- a/vendor/twbs/bootstrap/build/vnu-jar.mjs
+++ b/vendor/twbs/bootstrap/build/vnu-jar.mjs
@@ -2,7 +2,7 @@
/*!
* Script to run vnu-jar if Java is available.
- * Copyright 2017-2024 The Bootstrap Authors
+ * Copyright 2017-2025 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
diff --git a/vendor/twbs/bootstrap/build/zip-examples.mjs b/vendor/twbs/bootstrap/build/zip-examples.mjs
index e5e39be3a..e2b5245f1 100644
--- a/vendor/twbs/bootstrap/build/zip-examples.mjs
+++ b/vendor/twbs/bootstrap/build/zip-examples.mjs
@@ -3,7 +3,7 @@
/*!
* Script to create the built examples zip archive;
* requires the `zip` command to be present!
- * Copyright 2020-2024 The Bootstrap Authors
+ * Copyright 2020-2025 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/