🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
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

latest
Source
npmnpm
Version
1.0.2
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

gatsby

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