lasso
Version:
Lasso.js is a build tool and runtime library for building and bundling all of the resources needed by a web application
33 lines (26 loc) • 673 B
JavaScript
var transport = require('lasso-modules-client/transport');
exports.create = function(config, lasso) {
return {
properties: {
},
async init() {
if (!this.slot) {
delete this.slot;
}
},
getDir: function() {
return null;
},
read: function(context) {
return transport.codeGenerators.ready({
modulesRuntimeGlobal: config.modulesRuntimeGlobal
});
},
calculateKey () {
return 'modules-ready';
},
async getLastModified (lassoContext) {
return -1;
}
};
};