neutrino-middleware-wrapper

0.0.1 • Public • Published

CircleCI NPM version NPM downloads License Issues

neutrino-middleware-wrapper is a Neutrino Middleware for the Webpack Wrapper Plugin.

Get Started

npm install --save-dev neutrino-middleware-wrapper
module.exports = {
  use: [
    'neutrino-middleware-wrapper',
    {
      header: '(function() {',
      footer: '})();'
    }
  ]
}

Features

  • Uses the Webpack Wrapper Plugin wrap output files with custom text or code.
  • Supports a test option to change the regex used to match output filenames.
  • Passes header and footer options directly to the plugin.

Package Sidebar

Install

npm i neutrino-middleware-wrapper

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

5.64 kB

Total Files

6

Last publish

Collaborators

  • sammarks-code