cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PowerApps Staff GregHurlmanMSFT
PowerApps Staff

Re: How to add coreJS3 to pcf react to support browsers like IE11

@ScottDurow It seems like there should be some way to hook in while putting that customization in the project file structure (and therefore source control), avoiding having to modify the files sitting in $/node_modules/*. I will make sure the CLI team gets the community feedback around this, but if it can be put into that Idea post, it would make that easier.

rextan
Level: Powered On

Re: How to add coreJS3 to pcf react to support browsers like IE11

@ScottDurow @GregHurlmanMSFT 

 

Shouldn't this be a part of the standard package since this is how Babel 7 will support browsers? The old "polyfill" is a Babel 6 recommendation.

 

As of Babel 7.4.0, this package has been deprecated in favor of directly including core-js/stable (to polyfill ECMAScript features) and regenerator-runtime/runtime (needed to use transpiled generator functions):

https://babeljs.io/docs/en/babel-polyfill

 

Helpers + polyfilling from core-js

So if you need core-js support with transform-runtime, you would now pass the corejs option and use the @babel/runtime-corejs2 dependency instead of @babel/runtime.

https://babeljs.io/docs/en/v7-migration

https://github.com/babel/babel/pull/8266

 

Ps.

Thanks for info about submitting ideas.

https://powerusers.microsoft.com/t5/PowerApps-Ideas/Use-the-new-Babel-7-babel-plugin-transform-runti...

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 141 members 5,422 guests
Recent signins:
Please welcome our newest community members: