]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
explicitly use `banner` function, avoiding passing arguments
authorGeorge Sotiropoulos <geo.sotis@gmail.com>
Wed, 9 Nov 2022 09:36:12 +0000 (11:36 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Fri, 11 Nov 2022 06:11:32 +0000 (08:11 +0200)
build/rollup.config.js

index 27f12ac03de2f338a4c91d980a1b88ad3a934e86..f01918ebf24d4c5c6d2c53aa7821773245152460 100644 (file)
@@ -40,7 +40,7 @@ if (BUNDLE) {
 const rollupConfig = {
   input: path.resolve(__dirname, `../js/index.${ESM ? 'esm' : 'umd'}.js`),
   output: {
-    banner,
+    banner: banner(),
     file: path.resolve(__dirname, `../dist/js/${fileDestination}.js`),
     format: ESM ? 'esm' : 'umd',
     globals,