webpack-serve-spa-plugin

1.1.2 • Public • Published

Webpack Serve Spa Plugin

Wrapper which adds compression and connect-history-api-fallback to webpack-serve.

Usage

import and use with add method.

const spaPlugin = require("webpack-serve-spa-plugin");
 
module.exports.serve = {
  add: (app) => spaPlugin(app),
  ...
}
 

/webpack-serve-spa-plugin/

    Package Sidebar

    Install

    npm i webpack-serve-spa-plugin

    Weekly Downloads

    0

    Version

    1.1.2

    License

    ISC

    Unpacked Size

    3.7 kB

    Total Files

    4

    Last publish

    Collaborators

    • 8eecf0d2