百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
返回工具页/返回 Issues 列表
#2141·traceur-compiler

Chrome 61 现在默认支持 ES6 模块

作者: codedread创建于 2017年10月11日更新于 2017年10月13日

当 Chrome 61 看到 <script type="module" ...> 标签时,它会将其解释为一个 ES6 模块。 我们是否能在运行时检测到这一点,以防 Traceur 在不需要时进行转译?

内容来源: google/traceur-compiler

查看 GitHub 原文在 GitHub 查看讨论