Email or username:

Password:

Forgot your password?
4 comments
Philip Walton

@niutech my understanding is that due to the way Opera Mini compresses assets, it's never handled JavaScript sites well, regardless of what APIs they were using (which is partly why Babel has never supported Opera Mini in its preset-env plugin).

So if you need to support Opera Mini then you need to make sure your site works well without JavaScript in general (a build tool is still not going to help).

niu tech

@philipwalton Yes, but Opera Mini at least partially supports ES5: caniuse.com/?compare=op_mini+a so transpiling to ES5 still has some small benefit.

Philip Walton

@niutech if a site needs to support Opera Mini, then I agree it makes sense to transpile to ES5 for those users.

But the point I make in my article is that you shouldn't transpile to ES5 and then just *assume* your site fully works in Opera Mini—because my guess is it probably doesn't.

Opera Mini is a very particular browser, and supporting it requires manual testing.

Philip Walton

@niutech also, as an FYI in case you were curious, Babel's preset-env plugin does not support Opera Mini, see: babeljs.io/docs/babel-preset-e

Go Up