This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

gatsby-plugin-exclude

1.0.2 • Public • Published

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

/gatsby-plugin-exclude/

    Package Sidebar

    Install

    npm i gatsby-plugin-exclude

    Weekly Downloads

    5,134

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    7.51 kB

    Total Files

    8

    Last publish

    Collaborators

    • harryparkdotio