如何解决用于 css 加载的 canMerge.js 中未定义错误的“toLowerCase”
在 ng serve
上出现奇怪的错误
styles.css - Error: styles.css from Css Minimizer
TypeError: Cannot read property 'toLowerCase' of undefined
at /Users/pavlos-mac/projects/internal_portal/internal_portal/styles.css:73837:1
node.value
是 undefined
中的 canMerge.js
,它是 css 加载的一部分。
const hasInherit = node => node.value.toLowerCase() === 'inherit';
有什么想法吗?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。