1.0.0 • Published 3 months ago
webpack-dist-banner v1.0.0
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: your@email.com
*/ \n`,
extensions: ['css', 'js'] // file type
}),
],
};
Release Log
1.0.0 - 2024-02-06
new
- publish 1.0.0
1.0.0
3 months ago