Skip to content

Instantly share code, notes, and snippets.

@thomasmichaelwallace
Created March 26, 2019 09:04
Show Gist options
  • Save thomasmichaelwallace/a0618356ebdb5ea6193fdb07fa95e47e to your computer and use it in GitHub Desktop.
Save thomasmichaelwallace/a0618356ebdb5ea6193fdb07fa95e47e to your computer and use it in GitHub Desktop.
Example of require to cause webpack warnings
var utils = require('lazy-cache')(require);
var fn = require;
require = utils;
require('x', 'y');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment