mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
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…
x
Reference in New Issue
Block a user