Closed azproduction closed 10 years ago
refs #167
We need a way to define custom banner for bundle. Default value will be: // This file was automatically generated from ...
// This file was automatically generated from ...
It also possible to use lmd licence as banner.
var read = require('fs').readFileSync; var banner = '/*!\n * ' + read(require.resolve('lmd/LICENCE')).replace(/\n/g, '\n * ') + '\n */'; module.exports = { banner: banner, modules: { ... } };
It also possible to use some variables __dirname and __filename in banner template.
__dirname
__filename
"banner"
Thanks!
refs #167
We need a way to define custom banner for bundle. Default value will be:
// This file was automatically generated from ...
It also possible to use lmd licence as banner.
It also possible to use some variables
__dirname
and__filename
in banner template.// This file was automatically generated from ...
__dirname
,__filename
"banner"
value from parent config