我在构建库时收到警告。无法摆脱它们。问题似乎来自 Uglify,但我不知道如何传递任何额外的参数来调试它。
我在 prettier 或 linter 中没有错误或警告。
我怎样才能删除它们或更可能检查代码的哪一部分是错误的?
相关项目:https ://github.com/SAP/cloud-commerce-spartacus-storefront
我在构建库时收到警告。无法摆脱它们。问题似乎来自 Uglify,但我不知道如何传递任何额外的参数来调试它。
我在 prettier 或 linter 中没有错误或警告。
我怎样才能删除它们或更可能检查代码的哪一部分是错误的?
相关项目:https ://github.com/SAP/cloud-commerce-spartacus-storefront
我正在努力避免在《斯巴达克斯》中出现这些警告。我没有找到使用其他命令进行调试的解决方案,但我可以提供一些提示:
我限制代码检查的方法是观察构建的历史并找到一个提交,然后问题就开始了。
https://github.com/SAP/cloud-commerce-spartacus-storefront/pull/2476/files https://github.com/SAP/cloud-commerce-spartacus-storefront/pull/4422/files