webpack-dist-banner
v1.0.0
Published
A simple webpack plugin to add a banner to the top of your dist files
Downloads
4
Maintainers
Readme
webpack-dist-banner
A simple webpack plugin to add a banner to the top of your dist files
Install
npm install webpack-dist-banner
Use
const { WebpackDistBanner } = require('webpack-dist-banner');
const webpackConfig = {
// ...
plugins: [
new WebpackDistBanner({
banner: `/**
* Author: Your Name
* Date: 2024-02-05 10:30:00
* Email: [email protected]
*/ \n`,
extensions: ['css', 'js'] // file type
}),
],
};
Release Log
[1.0.0] - 2024-02-06
new
- publish 1.0.0