Webpack loader to transform lazy-cache files into unlazy cached files.
npm install unlazy-loader> Webpack loader to transform lazy-cache files into unlazy cached files.
``sh`
$ npm i unlazy-loader --save
This loader is intended to be used with [webpack][webpack] to transform files using [lazy-cache][lazy-cache] into files that require modules directly.
Use this like any other webpack loader;
`js`
var webpackConfig = {
module: {
loaders: [
{
test: /\.js$/,
loader: 'unlazy'
}
]
}
}
Webpack loader used for transforming files that contain lazy-cache into files
that require modules directly.
Params
* source {String}: Source code to inspect. returns
* {String}: Transformed source code.
`sh``
$ npm i -d && npm test
*
_This file was generated by verb on January 14, 2016._
[webpack]: https://github.com/webpack/webpack
[lazy-cache]: https://github.com/jonschlinkert/lazy-cache