mirror of https://github.com/webpack/webpack.git
11 lines
229 B
JavaScript
11 lines
229 B
JavaScript
|
// Labeled Module Format
|
||
|
exports: var a = 123;
|
||
|
|
||
|
// but you can use amd and commonjs style requires
|
||
|
require(
|
||
|
["./commonjs", "./amd"],
|
||
|
function(amd1) {
|
||
|
var commonjs2 = require("./commonjs");
|
||
|
var amd2 = require("./amd");
|
||
|
}
|
||
|
);
|