A Gatsby plugin to replace page paths.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.editorconfig
.gitattributes
.gitignore
.npmrc
.travis.yml
changelog.md
license
package.json
readme.md
tsconfig.json
yarn.lock

readme.md

gatsby-plugin-replace-path

Build Status npm Codecov.io

A Gatsby plugin to replace page paths.

Installation

Yarn

$ yarn add --dev gatsby-plugin-replace-path

npm

$ npm install --save-dev gatsby-plugin-replace-path

Usage

// gatsby-config.js

module.exports = {
  // ...
  plugins: [
    {
      resolve: 'gatsby-plugin-replace-path',
      options: {
        pattern: /(e)/g,
        replacement: ( _, match ) => match.toUpperCase(),
      },
    },
  ]
}

Change Log

Full Change Log

v1.0.0 (2018-05-10)

License

MIT © Neil Kistner