Skip to content

Commit b5b04bf

Browse files
committed
dynamic rollup banner
1 parent 72c9921 commit b5b04bf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rollup.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ import { terser } from 'rollup-plugin-terser'
55
import pkg from './package.json'
66

77
const banner = `/**
8-
* Infinite Ajax Scroll v${pkg.version}
9-
* Turn your existing pagination into infinite scrolling pages with ease
8+
* ${pkg.title} v${pkg.version}
9+
* ${pkg.description}
1010
*
1111
* Commercial use requires one-time purchase of a commercial license
1212
* https://infiniteajaxscroll.com/docs/license.html
1313
*
14-
* Copyright 2014-2019 Webcreate (Jeroen Fiege)
15-
* https://infiniteajaxscroll.com
14+
* Copyright 2014-${(new Date).getFullYear()} ${pkg.author.company} (${pkg.author.name})
15+
* ${pkg.homepage}
1616
*/`;
1717

1818
const base = {

0 commit comments

Comments
 (0)