New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

robotstxt-webpack-plugin

Package Overview
Dependencies
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

robotstxt-webpack-plugin

A webpack plugin to output a robots.txt file

  • 8.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
16K
decreased by-2.57%
Maintainers
3
Weekly downloads
 
Created
Source

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.

Contribution

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

Changelog

MIT

License

MIT

Keywords

FAQs

Package last updated on 29 Aug 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc