humanstxt-webpack-plugin
Webpack plugin for generate-humanstxt
Getting Started
npm install --save-dev @m00nbyte/humanstxt-webpack-plugin
Usage
webpack.config.js
const HumansTxtPlugin = require('@m00nbyte/humanstxt-webpack-plugin');
const options = {};
module.exports = {
plugins: [new HumansTxtPlugin(options)]
};
Options
-
path
- optional path for humans.txt (this should contain the full path including the file name, example:/path/to/humans.txt
). -
options
- see generate-humanstxt options.
Related
- generate-humanstxt - api for this package.
Contribution
Feel free to submit issues or pull requests.