1.0.0 • Published 7 years ago
gatsby-plugin-replace-path v1.0.0
gatsby-plugin-replace-path
A Gatsby plugin to replace page paths.
Installation
Yarn
$ yarn add --dev gatsby-plugin-replace-pathnpm
$ npm install --save-dev gatsby-plugin-replace-pathUsage
// gatsby-config.js
module.exports = {
// ...
plugins: [
{
resolve: 'gatsby-plugin-replace-path',
options: {
pattern: /(e)/g,
replacement: ( _, match ) => match.toUpperCase(),
},
},
]
}Change Log
v1.0.0 (2018-05-10)
- [
2ecb2577b3] - Initial commit (Neil Kistner)
License
MIT © Neil Kistner
1.0.0
7 years ago