neutrino-middleware-wrapper
Neutrino middleware for wrapping specific files in arbitrary code.
Last updated 2 years ago by sammarks .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install neutrino-middleware-wrapper 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 0.0.1                                ...           latest (2 years ago)

1 Versions

  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (4)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |