gpt4 book ai didi

javascript - 如何从 babel 处理的 rollup 包中删除 use strict

转载 作者:行者123 更新时间:2023-11-28 18:06:59 27 4
gpt4 key购买 nike

我尝试了插件transform-remove-strict-mode,但它不起作用。结果格式为 iife,我在 gulp 中使用 rollup (并将 babel 作为 rollup 插件)。

最佳答案

output选项中使用strict: false the documentation .

关于javascript - 如何从 babel 处理的 rollup 包中删除 use strict,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42378674/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com