constants.js 756 B

123456789101112
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.SUPPORTED_FILE_EXTS = exports.SUPPORTED_FILE_FORMATS = exports.VALIDATION_BASE_DATA_PATH = exports.LOADER_NAME = exports.ISSUES_URL = exports.PACKAGE_NAME = void 0;
  4. exports.PACKAGE_NAME = 'style-resources-loader';
  5. exports.ISSUES_URL = `https://github.com/yenshih/${exports.PACKAGE_NAME}/issues`;
  6. exports.LOADER_NAME = exports.PACKAGE_NAME.split('-')
  7. .map(word => `${word[0].toUpperCase()}${word.slice(1)}`)
  8. .join(' ');
  9. exports.VALIDATION_BASE_DATA_PATH = 'options';
  10. exports.SUPPORTED_FILE_FORMATS = ['css', 'sass', 'scss', 'less', 'styl'];
  11. exports.SUPPORTED_FILE_EXTS = exports.SUPPORTED_FILE_FORMATS.map(type => `.${type}`);
  12. //# sourceMappingURL=constants.js.map