Wondering what’s next for npm?Check out our public roadmap! »

    @arcadian-digital/react-snap-sitemap

    2.0.0 • Public • Published

    React Snap Sitemap

    IMPORTANT: This project is unmaintained

    This project was originally created to solve a one-off issue we had with a react-snap project. We are no longer actively maintaining or supporting this package.

    Our last action on this project has been to merge in one of the more popular forks of this package: https://github.com/alex-drocks/react-snap-sitemap

    It is my strongest recommendation that anyone who actively uses this package migrate over to this fork, as it appears to be somewhat more actively maintained.


    A companion package for react-snap.

    This package allows you to generate a sitemap.xml based off the created directories and files produced by react-snap.

    This package was created based off this comment by @erel.

    Installation

    npm install -D @arcadian-digital/react-snap-sitemap

    Usage

    Add && react-snap-sitemap --base-url=http://example.com/ to the end of your postBuild script after you've the react-snap command.

    You can also add --change-frequency=always|daily|weekly|monthly|yearly|never.

    If you need trailing slashes at the end of your URLs add --add-slash=true

    Install

    npm i @arcadian-digital/react-snap-sitemap

    DownloadsWeekly Downloads

    44

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    5.21 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar