给这个函数加中文注释:getSourceTypes return thisexternalType === css-import CSS_TYPES TYPES;
// 获取资源类型 function getSourceTypes() { // 如果外部类型是 "css-import",则返回 CSS_TYPES,否则返回 TYPES return this.externalType === "css-import" ? CSS_TYPES : TYPES; }
原文地址: https://www.cveoy.top/t/topic/hixM 著作权归作者所有。请勿转载和采集!