Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

unlazy-loader

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unlazy-loader

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

  • 0.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
18K
decreased by-18.13%
Maintainers
2
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 31 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc