Skip to content

Commit 9dce8b5

Browse files
authored
Obtain license name from package.json instead of hardcoding (#129)
The `license` field in the `package.json` file should contain the license name. That should be used instead of hardcoding it to 'MIT'.
1 parent da5a45f commit 9dce8b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function getAuthors(pkg) {
2424
const banner = `/*!
2525
* ${pkg.name} v${pkg.version}
2626
* (c) ${new Date().getFullYear()} ${getAuthors(pkg)}
27-
* @license MIT
27+
* @license ${pkg.license}
2828
*/`
2929

3030
// ensure TS checks only once for each build

0 commit comments

Comments
 (0)