robotstxt-webpack-plugin
A webpack plugin to output a robots.txt file
Last updated a year ago by evilebottnawi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install robotstxt-webpack-plugin 
SYNC missed versions from official npm registry.

NPM version Travis Build Status dependencies Status devDependencies Status

robotstxt-webpack-plugin

Generating robots.txt using webpack.

Why your need robots.txt?

Webpack plugin for generate-robotstxt package.

Getting Started

To begin, you'll need to install robotstxt-webpack-plugin:

npm install --save-dev robotstxt-webpack-plugin

webpack.config.js

const RobotstxtPlugin = require("robotstxt-webpack-plugin");

const options = {}; // see options below

module.exports = {
  plugins: [new RobotstxtPlugin(options)]
};

Options

  • filePath - (optional) path for robots.txt (should be contain full path include robots.txt file name, example - path/to/robots.txt).
  • General options - see generate-robotstxt options.

Related

Contribution

Feel free to push your code if you agree with publishing under the MIT license.

Changelog

MIT

License

MIT

Current Tags

  • 7.0.0                                ...           latest (a year ago)

12 Versions

  • 7.0.0                                ...           a year ago
  • 6.0.0                                ...           a year ago
  • 5.0.0                                ...           2 years ago
  • 4.0.1                                ...           3 years ago
  • 4.0.0                                ...           3 years ago
  • 3.0.2                                ...           3 years ago
  • 3.0.1                                ...           3 years ago
  • 3.0.0                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
  • 1.0.0-alpha.1                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 13
Last Day 1
Last Week 4
Last Month 135
Dependencies (2)

Copyright 2014 - 2017 © taobao.org |