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, jade, coffee, css, less, ... and your custom stuff.

12 lines 309 B
// AMD Module Format define( "app/amd", // anonym is also supported ["./commonjs", "./labeled"], function(commonjs1, labeled1) { // but you can use CommonJs-style requires: var commonjs2 = require("./commonjs"); var labeled2 = require("./labeled"); // Do something... return 456; } );