0.0.7 • Published 2 months ago

@jaybeeuu/feed-webpack-plugin v0.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

feed-webpack-plugin

npm

Wraps feed in a webpack plugin so it can be used to generate and feeds and inject them into the webpack output.

Usage

const { FeedWebpackPlugin } = require("@jaybeeuu/feed-webpack-plugin");
export default {
  plugins: [
    new FeedWebpackPlugin({
      atomFileName: "feeds/atom.xml", // The file name that the Atom feed should be written to. If undefined no atom feed will be emitted.
      rssFileName: "feeds/rss.xml", // The file name that the rss feed should be written to. If undefined no rss feed will be emitted.
      feedOptions: {
        /* Options used to build the feed. Passed onto new Feed. */
      },
      items: [
        /* Items to include on the feed. Passed onto feed.addItem */
      ],
    }),
  ],
};

For more details on the options for feedOptions or items see the feed docs.

0.0.7

2 months ago

0.0.6

2 months ago

0.0.5

7 months ago

0.0.4

10 months ago

0.0.3

11 months ago

0.0.2

1 year ago

0.0.1

2 years ago

0.0.0

2 years ago