Skip to content

Commit cdb310f

Browse files
committed
Banner cleanup
1 parent b3d7ef1 commit cdb310f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

rollup.config.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22
import resolve from 'rollup-plugin-node-resolve';
33
import commonjs from 'rollup-plugin-commonjs';
44
import pkg from './package.json';
5-
import fs from 'fs';
65

76
function banner() {
87
var text = pkg.name + ' v' + pkg.version + '\n';
98
text += 'Copyright (c) ' + (new Date).getFullYear() + ' Erik Koopmans\n';
10-
text += 'Released under the ' + pkg.license + ' License';
11-
text = '/**\n * ' + text.replace(/\n/g, '\n * ') + '\n */\n';
9+
text += 'Released under the ' + pkg.license + ' License.';
10+
text = '/**\n * ' + text.replace(/\n/g, '\n * ') + '\n */';
1211
return { banner: text };
1312
}
1413
function license(filename) {

0 commit comments

Comments
 (0)