unlazy-loader
Webpack loader to transform lazy-cache files into unlazy cached files.
Last updated 4 years ago .
· Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install unlazy-loader 
SYNC missed versions from official npm registry.

unlazy-loader NPM version

Webpack loader to transform lazy-cache files into unlazy cached files.

Install

Install with npm:

$ npm i unlazy-loader --save

Usage

This loader is intended to be used with webpack to transform files using lazy-cache into files that require modules directly. Use this like any other webpack loader;

var webpackConfig = {
  module: {
    loaders: [
      {
        test: /\.js$/,
        loader: 'unlazy'
      }
    ]
  }
}

API

.unlazy-loader

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.

Related projects

  • lazy-cache: Cache requires to be lazy-loaded when needed. | homepage
  • webpack: Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which… more | homepage

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Brian Woodward

License

Copyright © 2016 Brian Woodward Released under the MIT license.


This file was generated by verb on January 14, 2016.

Current Tags

  • 0.1.3                                ...           latest (4 years ago)

4 Versions

  • 0.1.0                                ...           7 years ago
  • 0.1.1                                ...           7 years ago
  • 0.1.2                                ...           7 years ago
  • 0.1.3                                ...           4 years ago
Maintainers (2)
Dependencies (1)
Dev Dependencies (2)

Copyright © npmmirror.com | 浙ICP备15033595号-63 |