Uploaded image for project: 'Nuxeo JS Client'
  1. Nuxeo JS Client
  2. NXJS-156

Leverage browserlist when transpiling with babel

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.17.0
    • Component/s: Browser
    • Tags:
    • Sprint:
      nxfit 10.3.5
    • Story Points:
      2

      Description

      See https://github.com/browserslist/browserslist

      We could use some query like "last 2 versions, not dead, firefox ESR".

      To configure browserlist in the package.json file, we need to migrate to babel 7, so we need to drop node.js 4 support
      => that means ES5 build will be used only on browsers.
      As the browser build or the ES5 build will use the same babel configuration and browserlist, we can assume that if tests pass for the browser build, the ES5 build is also OK.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h