1.0.14 • Published 4 years ago

@newhighsco/next-plugin-sitemap v1.0.14

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

next-plugin-sitemap NPM version

Next.js plugin for generating an XML sitemap during next export

Installation

Install Next.js and @newhighsco/next-plugin-sitemap:

npm install --save next @newhighsco/next-plugin-sitemap

Usage

Create a next.config.js in your project:

// next.config.js
const withSitemap = require('@newhighsco/next-plugin-sitemap')
module.exports = withSitemap({
  sitemap: {
    /* config options here */
  }
})

Options

NameTypeDefault
hostname*string-
ignorePaths?array['/404', '/']
filename?stringsitemap.xml

CHANGELOG

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago