UNPKG

assetgraph

Version:

An auto discovery dependency graph based optimization framework for web pages and applications

18 lines (13 loc) 361 B
const Relation = require('./Relation'); class SystemJsLazyBundle extends Relation { inline() { throw new Error('SystemJsLazyBundle.inline(): Not supported'); } set href(href) { this.node.key = { type: 'Literal', value: href }; } get href() { return this.node.key.value || this.node.key.name; } } module.exports = SystemJsLazyBundle;