atlassian-webresource-webpack-plugin
Version:
Auto-generates web-resource definitions from your webpacked code, for usage in an Atlassian product or plugin.
17 lines • 698 B
JavaScript
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const EmptyExportsModule_1 = __importDefault(require("./EmptyExportsModule"));
class WrmDependencyModule extends EmptyExportsModule_1.default {
constructor(dependency, type, pluginKey) {
super(dependency, type);
this._wrmDependency = dependency.includes(':') ? dependency : `${pluginKey}:${dependency}`;
}
getDependency() {
return this._wrmDependency;
}
}
exports.default = WrmDependencyModule;
//# sourceMappingURL=WrmDependencyModule.js.map
;