No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    [solved] Confirm Quasar v1 is transpiling to ES5 for IE11

    Help
    3
    6
    175
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • beatscribe
      beatscribe last edited by beatscribe

      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.

      dobbel 1 Reply Last reply Reply Quote 0
      • dobbel
        dobbel @beatscribe last edited by

        @beatscribe

        Quasar is indeed transpiling to ES5?

        Eum no ES5 does not need to be transpiled for IE11…ES6 on the other hand does.

        beatscribe 1 Reply Last reply Reply Quote 1
        • beatscribe
          beatscribe @dobbel last edited by

          @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?

          dobbel 1 Reply Last reply Reply Quote 0
          • dobbel
            dobbel @beatscribe last edited by dobbel

            @beatscribe

            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

            1 Reply Last reply Reply Quote 1
            • Hawkeye64
              Hawkeye64 last edited by

              @beatscribe In order to get IE11 for Quasar v1, you have to modify your browserslist in package.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"
                ],
              
              1 Reply Last reply Reply Quote 1
              • beatscribe
                beatscribe last edited by

                Thanks, I think i was sort of overthinking this.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post