mirror of https://github.com/twbs/bootstrap.git
explicitly use `banner` function, avoiding passing arguments
This commit is contained in:
parent
1a86cb3cf0
commit
634e449b9a
|
@ -40,7 +40,7 @@ if (BUNDLE) {
|
||||||
const rollupConfig = {
|
const rollupConfig = {
|
||||||
input: path.resolve(__dirname, `../js/index.${ESM ? 'esm' : 'umd'}.js`),
|
input: path.resolve(__dirname, `../js/index.${ESM ? 'esm' : 'umd'}.js`),
|
||||||
output: {
|
output: {
|
||||||
banner,
|
banner: banner(),
|
||||||
file: path.resolve(__dirname, `../dist/js/${fileDestination}.js`),
|
file: path.resolve(__dirname, `../dist/js/${fileDestination}.js`),
|
||||||
format: ESM ? 'esm' : 'umd',
|
format: ESM ? 'esm' : 'umd',
|
||||||
globals,
|
globals,
|
||||||
|
|
Loading…
Reference in New Issue