1
0
Fork 0

build: remove license from chunks

This commit is contained in:
ssube 2019-06-30 17:10:13 -05:00
parent 37e20fca21
commit ac86e698de
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 1 additions and 4 deletions

View File

@ -1,5 +1,3 @@
import fs from 'fs';
import commonjs from 'rollup-plugin-commonjs';
import json from 'rollup-plugin-json';
import multiEntry from 'rollup-plugin-multi-entry';
@ -9,7 +7,6 @@ import typescript from 'rollup-plugin-typescript2';
const metadata = require('../package.json');
const shebang = '#! /usr/bin/env node';
const license = fs.readFileSync('LICENSE.md', 'utf-8').split('\n').map(ln => ` * ${ln}`);
const bundle = {
input: [
@ -41,7 +38,7 @@ const bundle = {
format: 'cjs',
sourcemap: true,
banner: () => {
return [shebang, '/**', ...license, ' **/'].join('\n');
return shebang + '\n\n';
},
},
plugins: [