|
// an example CommonJs module
|
|
// content is omitted for brevity
|
|
exports.readFile = function() {};
|
|
// using module.exports would be equivalent,
|
|
// webpack doesn't care which syntax is used
|
|
|
|
// AMD modules are also possible and equivalent to CommonJs modules
|