beyond
Version:
The Full Stack Universal Typescript Framework
10 lines (8 loc) • 345 B
JavaScript
module.exports = class extends global.ProcessorSources {
get template() {
const {processor} = this;
if (processor.specs.bundle.type === 'template/application') return;
const {application, distribution} = processor.specs;
return application.template.application.processors.get(distribution);
}
}