diff options
author | George Sotiropoulos <geo.sotis@gmail.com> | 2022-11-09 12:36:12 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2022-11-11 09:11:32 +0300 |
commit | 634e449b9aea2e78cc889684da1b88ca76d1f19c (patch) | |
tree | 982bec3d8c26305ddbc77ebbd2c98e6c74d701d9 | |
parent | 1a86cb3cf0b75303c7efe47e8fc3dc14425424b3 (diff) |
explicitly use `banner` function, avoiding passing arguments
-rw-r--r-- | build/rollup.config.js | 2 |
1 files changed, 1 insertions, 1 deletions
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, |