cheminfo / tools

CLI tools to help cheminfo developers
MIT License
2 stars 3 forks source link

add prefix to generated files #4

Closed targos closed 7 years ago

targos commented 9 years ago

Like we had before:

/**
 * jcampconverter - Parse and convert JCAMP data
 * @version v2.1.0
 * @link https://github.com/cheminfo/jcampconverter
 * @license MIT
 */

// jcampconverter@v2.1.0, MIT licensed. https://github.com/cheminfo/jcampconverter
maasencioh commented 8 years ago

Hi, where it's this header added and it's based in what?

targos commented 8 years ago

It is for the cheminfo build command. The headers should be added at the beginning of the built files (first header for normal build, second for minified build) Information comes from the package.json:

targos commented 7 years ago

We can probably use webpack's banner plugin: https://webpack.js.org/plugins/banner-plugin/