@wenbo/fis3-postpackager-loader
Version:
19 lines (13 loc) • 316 B
JavaScript
function init(file, resource) {
file.requires.forEach(function(id) {
resource.add(id);
});
file.asyncs.forEach(function(id) {
resource.add(id, true);
});
resource.add(file.id);
}
function processJs(file, resource, opts) {
}
module.exports = processJs;
processJs.init = init;