CssModuleFactory.js 506 B

12345678910111213141516171819202122
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. var _CssModule = _interopRequireDefault(require("./CssModule"));
  7. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  8. class CssModuleFactory {
  9. // eslint-disable-next-line class-methods-use-this
  10. create({
  11. dependencies: [dependency]
  12. }, callback) {
  13. callback(null, new _CssModule.default(dependency));
  14. }
  15. }
  16. exports.default = CssModuleFactory;