简体   繁体   English

找出哪种包因使用不受支持的功能而中断的最佳技术是什么?

[英]What is the best technique to find out which package breaks due to using unsupported features?

I'm working on a project that fails to run on IE11 due to use of unsupported arrow functions. 我正在使用由于不支持的箭头功能而无法在IE11上运行的项目。 There are quite a lot dependencies and I'm not sure what's the quickest / easiest way to find out which uses arrow functions? 有很多依赖关系,我不确定找出哪种使用箭头功能的最快/最简单的方法是什么?

I have found a way by doing a search in file for => inside the built items. 我找到了一种方法,可以在构建项内的文件中搜索=> There are comments before each transpiled block showing the source module name. 每个已翻译的块之前都有注释,显示源模块名称。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何找出哪个 package 正在使用 UNSAFE componentWillMount 方法? - How to find out which package is using the UNSAFE componentWillMount method? 这是我的javascript插件的最佳安全技术 - Which is the best security technique for my javascript plugin 此选项标签使用什么技术? - What is the technique using in this option tag? 如何找出可以从 npm package 导出的内容 - How to find out what can be exported from npm package 找出实际盒阴影值的最佳方法是什么? - what is the best way to find out actual box-shadow values? 如何找出哪些JavaScript引擎/平台支持ES6 Unicode正则表达式的哪些功能? - How can I find out which JavaScript engines/platforms support which features of ES6 Unicode regular expressions? 使用不受支持的 HTML 功能时避免生成错误 - Avoid generating errors when using unsupported HTML features 使用 ESLint 防止在 IE11 中使用不受支持的 JavaScript 功能? - Prevent use of unsupported JavaScript features in IE11 using ESLint? 如何查找哪个元素破坏了网页上的HTTPS? - How to find which element breaks HTTPS on a webpage? 如何找出节点/npm package 导出了哪些函数? - How do you find out which functions are exported by a node/npm package?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM