UNPKG

webpack

Version:

Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.

8 lines (7 loc) 192 B
// Provide a "System" global. module.exports = { // Make sure import is only used as "System.import" import: function() { throw new Error("System.import cannot be used indirectly"); } };