Sha256: 05db022931e53bf295221b3ae9148fccbd0e5d9510858ebe09c5b662dc6ca168
Contents?: true
Size: 757 Bytes
Versions: 10
Compression:
Stored size: 757 Bytes
Contents
'use strict'; /** * Lazily-required module dependencies (makes the application * faster) */ var utils = require('lazy-cache')(require); /** * Temporarily re-assign `require` to trick browserify and * webpack into reconizing lazy dependencies. * * This tiny bit of ugliness has the huge dual advantage of * only loading modules that are actually called at some * point in the lifecycle of the application, whilst also * allowing browserify and webpack to find modules that * are depended on but never actually called. */ var fn = require; require = utils; /** * Lazily required module dependencies */ require('align-text', 'align'); /** * Restore `require` */ require = fn; /** * Expose `utils` modules */ module.exports = utils;
Version data entries
10 entries across 10 versions & 6 rubygems