Naughty Programmer's Madness

    gatsby-plugin-archives

    3.0.1 • Public • Published

    gatsby-plugin-archives

    Build Status Current npm package version

    Gatsby plugin for ignoring files and directories on build.

    Installing

    npm install --save gatsby-plugin-archives

    Usage

    // In your gatsby-config.js
    plugins: [
      {
        resolve: `gatsby-plugin-archives`,
        options: {
            // Files and directories to exclude
            // Default: /archive/i
            exclude: [/(archive|templates)/i, /example-page.js/],
            
            // Only archive pages in production
            // Default: false
            productionOnly: true,
     
            // Log when pages are archived
            // Default: false
            verbose: true,
        },
      },
    ]

    License

    MIT © Hutson Inc

    Install

    npm i gatsby-plugin-archives

    DownloadsWeekly Downloads

    24

    Version

    3.0.1

    License

    MIT

    Unpacked Size

    5.74 kB

    Total Files

    8

    Last publish

    Collaborators

    • austinleegordon