0.0.1 • Published 7 years ago
neutrino-middleware-wrapper v0.0.1

neutrino-middleware-wrapper is a Neutrino Middleware for the Webpack Wrapper Plugin.
Get Started
npm install --save-dev neutrino-middleware-wrappermodule.exports = {
use: [
'neutrino-middleware-wrapper',
{
header: '(function() {',
footer: '})();'
}
]
}Features
- Uses the Webpack Wrapper Plugin wrap output files with custom text or code.
- Supports a
testoption to change the regex used to match output filenames. - Passes
headerandfooteroptions directly to the plugin.
0.0.1
7 years ago