1.0.1 • Published 2 years ago

@m00nbyte/humanstxt-webpack-plugin v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

humanstxt-webpack-plugin

NPM version

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

Contribution

Feel free to submit issues or pull requests.

Changelog

License