• Eduardo Sanz García's avatar
    Fix JS browser compatibility on dev · 8e67e807
    Eduardo Sanz García authored
    Because the code in `dev-server/static/scripts/util.js` is not
    transpiled by Babel, it needs to be compatible with all the browsers
    versions in `browserslist` (`package.json`).
    
    Optional chaining `(?.)` is for example not support in Chrome versions <
    80.
    
    This is only an issue when testing `localhost:3000` on these supported,
    but older browser versions.
    8e67e807
util.js 1.05 KB