aboutsummaryrefslogtreecommitdiff
path: root/node_modules/center-align/utils.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-09-20 02:56:13 +0200
committerFlorian Dold <florian.dold@gmail.com>2018-09-20 02:56:13 +0200
commitbbff7403fbf46f9ad92240ac213df8d30ef31b64 (patch)
treec58400ec5124da1c7d56b01aea83309f80a56c3b /node_modules/center-align/utils.js
parent003fb34971cf63466184351b4db5f7c67df4f444 (diff)
update packages
Diffstat (limited to 'node_modules/center-align/utils.js')
-rw-r--r--node_modules/center-align/utils.js40
1 files changed, 0 insertions, 40 deletions
diff --git a/node_modules/center-align/utils.js b/node_modules/center-align/utils.js
deleted file mode 100644
index aead6d2f0..000000000
--- a/node_modules/center-align/utils.js
+++ /dev/null
@@ -1,40 +0,0 @@
-'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;