Skip to content

Instantly share code, notes, and snippets.

@vincenting
Last active October 19, 2018 21:50
Show Gist options
  • Save vincenting/47eddfc609a16e078b893ad5a9225e56 to your computer and use it in GitHub Desktop.
Save vincenting/47eddfc609a16e078b893ad5a9225e56 to your computer and use it in GitHub Desktop.
webpack output with externals
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("popper.js"));
else if(typeof define === 'function' && define.amd)
define(["popper.js"], factory);
else if(typeof exports === 'object')
exports["index"] = factory(require("popper.js"));
else
root["index"] = factory(root["Popper"]);
})((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE_dbbc__) {})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment