Specifying require dependencies
clmath opened this issue · comments
Clément Mathieu commented
Currently the dependency on require in locales.js
and preload.js
are not correct.
Indeed, require
is a special keyword as module
and export
.
The correct way to use require inside a module is:
define(["require"], function (require) {
require([....]);
});