Skip to content

Commit

Permalink
Remove license again
Browse files Browse the repository at this point in the history
  • Loading branch information
eKoopmans committed Nov 25, 2017
1 parent ae199cc commit e77097f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import fs from 'fs';
function license(filename) {
filename = filename || './LICENSE';
var data = fs.readFileSync(filename).toString();
console.log(data);
console.log(typeof data);
data = '/**\n * @license\n * ' + data.trim().replace(/\n/g, '\n * ') + '\n */\n';
return { banner: data };
}
Expand All @@ -27,8 +25,7 @@ export default [
},
plugins: [
resolve(),
commonjs(),
license('./LICENSE')
commonjs()
]
},
// Un-bundled builds.
Expand All @@ -51,8 +48,7 @@ export default [
},
plugins: [
resolve(),
commonjs(),
license('./LICENSE')
commonjs()
]
}
];

0 comments on commit e77097f

Please sign in to comment.