fis3-postpackager-header
v1.0.0
Published
fis3 plugin, adding text to packaged resources' header
Downloads
3
Readme
fis3-postpackager-header
fis3 plugin, adding text to packaged resources' header
Install
npm install --global fis3-postpackager-header
Usage
const header = `/**
* @author g8up
* @mail [email protected]
*/
`;
fis.media('production')
.match('::package', {
packager: fis.plugin('map', {
'bundle.js': [
'widget/**.js',
],
}),
postpackager: fis.plugin('header', {
header,
}),
});