Skip to content
This repository was archived by the owner on Jul 12, 2020. It is now read-only.

Conversation

@shinobi5
Copy link

@shinobi5 shinobi5 commented Aug 28, 2019

Description
Arrow functions are not currently transpiled by babel (in the dist-web output) for browsers that don't support them e.g. ie11.

This PR adds babel-plugin-transform-es2015-arrow-functions to add this support.

Changes

  • Add .babelrc file and move current babel presets from package.json to .babelrc
  • Add babel-plugin-transform-es2015-arrow-functions as a dev dependency and add as a plugin to .babelrc so @pika/plugin-standard-pkg knows to use it during build

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant