Solve babeling issue highlighted by react-amphtml #2181
Labels
investigation
Refinement Needed
This is ready for refinement. It shouldn't be worked on until it has been refined by Dev & Test.
Milestone
Is your feature request related to a problem? Please describe.
The package
react-amphtml
above v1.0.1 has an arrow function in, which when used in simorgh doesn't get babeled and makes IE 11 breakAttempt at fix #1897
Describe the solution you'd like
Come up with a solution for addressing this problem. 1 possible fix is to babel our node modules, however this is often discouraged online, so read up.
Another option is to babel individual packages on required basis, would require method of detecting these modules
Describe alternatives you've considered
Just ignoring it, starting a new life on a farm somewhere, raising sheep, relaxing.
Testing notes
This is an investigation issue.
Dev insight: Will Cypress tests be required or are unit tests sufficient? Will there be any potential regression? etc
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: