简体   繁体   中英

Using ECMAScript 6 with Firefox add-ons SDK without nightly builds

I'm developing a Firefox add-on with which I want to use ECMAScript 6 features, but that's only available in the nightly builds. The nightly builds are sadly super slow and development suffers because of that.

Is there any way to use ECMAScript 6 for a Firefox add-on in combination with "jpm postwatch"?

Most ECMA6 features are already available in stable builds. Web content has to opt-in into some stuff, but that is not required from addons.

If you want to use ES6 features that are only available in nightly then that's because they're either new or unstable, it wouldn't make sense to test against stable anyway.

The nightly builds are sadly super slow and development suffers because of that.

It shouldn't, maybe that's the issue you need to fix.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM