From 634e449b9aea2e78cc889684da1b88ca76d1f19c Mon Sep 17 00:00:00 2001 From: George Sotiropoulos Date: Wed, 9 Nov 2022 11:36:12 +0200 Subject: explicitly use `banner` function, avoiding passing arguments --- build/rollup.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/rollup.config.js b/build/rollup.config.js index 27f12ac03d..f01918ebf2 100644 --- a/build/rollup.config.js +++ b/build/rollup.config.js @@ -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, -- cgit v1.2.3