5.0.4 • Published 7 years ago

simple-react-webpack-static-plugin v5.0.4

Weekly downloads
13
License
ISC
Repository
-
Last release
7 years ago

simple-react-webpack-static-plugin

Build Status

This plugin creates an HTML file with static markup from each JSX entry-point in a webpack config. It expects you have written your application to use ES-2015.

Example Usage

webpack.config.js

var SimpleReactWebpackStaticPlugin = require('simple-react-webpack-static-plugin');

module.exports = {
  entry: {
    index: './path/to.jsx'
  },

  plugins: [
    new SimpleReactWebpackStaticPlugin({
      "default": {
        "title": "The title for your website"
      },
    })
  ]
};

Interface