"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.isStyleFile = exports.AUTO_CSS_MODULE_EXTS = void 0;
var _path = require("path");
const AUTO_CSS_MODULE_EXTS = ['.css', '.less', '.sass', '.scss', '.stylus', '.styl'];
exports.AUTO_CSS_MODULE_EXTS = AUTO_CSS_MODULE_EXTS;
const isStyleFile = ({
  filename,
  ext
}) => {
  return AUTO_CSS_MODULE_EXTS.includes(ext ?? (0, _path.extname)(filename));
};
exports.isStyleFile = isStyleFile;