Skip to content
This repository was archived by the owner on May 11, 2018. It is now read-only.
This repository was archived by the owner on May 11, 2018. It is now read-only.

Add support for Samsung Internet browser #428

@philipwalton

Description

@philipwalton

Samsumg Internet uses Chromium under the hood, but it doesn't always stay up-to-date with the latest version. We discovered this recently due to a bug report from a Samsung Internet user.

To fix it, we had to investigate the version of Chromium they use and then manually add that to the browser list:

const babelPlugin = babel({
  presets: [['env', {
    targets: {
      browsers: ['chrome >= 51'],
    },
    // ...
});

But this requires a bit or work on the user's side. Since browserlist support Samsung Internet, ideally we'd be able to do this:

const babelPlugin = babel({
  presets: [['env', {
    targets: {
      browsers: ['last 2 Samsung versions'],
    },
    // ...
});

I haven't looked into whether this can be done solely on the babel-preset-env side, or if it would require changes to http://kangax.github.io/compat-table. If the latter is the case, maybe we can loop in @poshaughnessy for help making that happen?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions