Mozilla Discourse
Using es6 import on Extension Pages
Add-ons
Development
freaktechnik
(Martin Giger)
June 11, 2020, 12:33pm
8
The linter does not yet support class fields, which is what the syntax you have there likely is.
Error submitting my first add on
show post in topic
Related topics
Topic
Replies
Views
Activity
Using imports
Development
3
1825
July 12, 2018
Can I use ES6 Modules in a WebExtension without webpack or similar?
Development
2
1424
September 2, 2019
How to import ES6 modules inside the extension?
Development
4
3443
March 8, 2022
[WebExtension] Import a module in a script
Development
9
14552
April 2, 2024
JavaScript syntax error in addon validation results
Development
15
1902
December 22, 2020