Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gatsby-plugin-exclude

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-plugin-exclude

exclude pages from gatsby

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

gatsby-plugin-exclude

exclude pages from gatsby

Travis Codecov license npm

usage

install

$ npm install --save gatsby-plugin-exclude

configure

gatsby-config.js

{
  resolve: 'gatsby-plugin-exclude',
  options: { paths: ['/app/**', '!/app/demo/*'] },
}

In this example, all paths prefixed by /app/ will be excluded, except for app/demo/.


Note: multimatch specifies * matches any number of characters, but not /, whereas ** does.

therefore to match /abc/123/xyz, /abc/** is the appropriate pattern, not /abc/*.


based on gatsby-plugin-create-client-paths

Keywords

FAQs

Package last updated on 01 Oct 2019

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