You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would allow us to just set the environments we want to support in the Babel config and stop worrying about which JS features are supported by which version of which WebView.
Feature Description
As we have a build step anyways, so we would just have to add Babel to the build process.
The only real drawback I can see is that our generated cordova.js might not be as readable as before. But I'd be OK with that.
Real-life examples where not having this bit me: #203#204
The text was updated successfully, but these errors were encountered:
If readability is a concern, we can also include source maps so that line numbers and stacktraces at least trace back to the original source file, which the web inspectors also supports and will display.
Not sure if the babel tool itself supports source maps cause I've always use babel in conjunction with another bundler like webpack.
Feature Request
Motivation Behind Feature
This would allow us to just set the environments we want to support in the Babel config and stop worrying about which JS features are supported by which version of which WebView.
Feature Description
As we have a build step anyways, so we would just have to add Babel to the build process.
The only real drawback I can see is that our generated
cordova.js
might not be as readable as before. But I'd be OK with that.Real-life examples where not having this bit me: #203 #204
The text was updated successfully, but these errors were encountered: