atlassian-webresource-webpack-plugin
Version:
Auto-generates web-resource definitions from your webpacked code, for usage in an Atlassian product or plugin.
16 lines • 662 B
JavaScript
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const AppResources_1 = __importDefault(require("./AppResources"));
class AppResourceFactory {
constructor(appResourcesFactoryParams) {
this.appResourcesFactoryParams = appResourcesFactoryParams;
}
build(compiler, compilation) {
return new AppResources_1.default({ ...this.appResourcesFactoryParams, compiler, compilation });
}
}
exports.default = AppResourceFactory;
//# sourceMappingURL=AppResourcesFactory.js.map
;