/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
examples/mixed/example.js
14 строк
396 B
Tobias Koppers
removed LabeledModules
07 сен 2016, 13:25
07 сен 2016, 13:25
a14e563
Код
Авторство
О чём код?
// CommonJs-style requires var commonjs1 = require("./commonjs"); var amd1 = require("./amd"); var harmony1 = require("./harmony"); // AMD-style requires (with all webpack features) require([ "./commonjs", "./amd", "../require.context/templates/"+amd1+".js", Math.random() < 0.5 ? "./commonjs" : "./amd"], function(commonjs2, amd2, template, randModule) { // Do something with it... } );