[solved] Confirm Quasar v1 is transpiling to ES5 for IE11
-
Probably a simple question, this post is super old, so I’m not sure its accurate (I don’t see the files he mentions in my build). But how can I confirm that Quasar is indeed transpiling to ES5? My site works perfect in IE11 so I think all is fine, but I need to confirm.
-
Quasar is indeed transpiling to ES5?
Eum no ES5 does not need to be transpiled for IE11…ES6 on the other hand does.
-
@dobbel Sorry, I am probably not explaining it well, I do not know much about this part of it. If I am linting in es6, when I build, does it get put into ES5 for IE11 to be able to use it? If I’m gonna use it in IE11, do I need to have my liter on ES5?
-
That’s not my expertise either. As far as I know a linter has nothing to do with transpiling (to es5), it will check for errors and/or format your code. If you set quasar to ie11 enabled it will take care of it.
Your app runs in ie11 you say, that’s all the proof I would need: it’s all fine.
Perhaps you could ask the linter es5/es6 question at your linter’s community/github
-
@beatscribe In order to get IE11 for Quasar v1, you have to modify your
browserslist
inpackage.json
. This will add the appropriate polyfills for the selected browsers.
For instance, you could have this:"browserslist": [ "last 1 version, not dead, ie >= 11" ],
-
Thanks, I think i was sort of overthinking this.