validate-options.js 580 B

12345678910111213
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.validateOptions = void 0;
  4. const tslib_1 = require("tslib");
  5. const schema_utils_1 = (0, tslib_1.__importDefault)(require("schema-utils"));
  6. const schema_1 = require("../schema");
  7. const constants_1 = require("./constants");
  8. const validateOptions = options => (0, schema_utils_1.default)(schema_1.schema, options, {
  9. name: constants_1.LOADER_NAME,
  10. baseDataPath: constants_1.VALIDATION_BASE_DATA_PATH,
  11. });
  12. exports.validateOptions = validateOptions;
  13. //# sourceMappingURL=validate-options.js.map