From ac86e698def2d45ec6477eb252ad7a07aa5aae01 Mon Sep 17 00:00:00 2001 From: ssube Date: Sun, 30 Jun 2019 17:10:13 -0500 Subject: [PATCH] build: remove license from chunks --- config/rollup.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/config/rollup.js b/config/rollup.js index 1f57506..f966698 100644 --- a/config/rollup.js +++ b/config/rollup.js @@ -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: [