Is it possible to use ES6 modules in Google Chrome Extension Development?
I get \'unexpected token export\' or \'unexpected token import\'.
Well sort of, you can see here in the compatibility table for chrome that not everything is available. Chrome is good about adding ES6 features with each release but currently import is not supported.
http://kangax.github.io/compat-table/es6/
Now that said, you can use all ES6 features if you use a compiler like babel
https://babeljs.io/
Check out this answer for more info, note it is dated: Is it possible to use ES6 in a Chrome Extension?