Skip to content

sammarks/neutrino-middleware-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 to 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.

About

Neutrino middleware for wrapping specific files in arbitrary code.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors