sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Microsoft Graph Toolkit 4 + SPFx1.18

Open akshataggrwal opened this issue 1 year ago • 2 comments
trafficstars

As per my understanding from the documentation(https://learn.microsoft.com/en-us/graph/toolkit/get-started/build-a-sharepoint-web-part?tabs=react#configure-webpack), to integrate MGT 4 with SPFx 1.18, additional dependencies on Babel are required, along with modifications to the gulp file for transpiling lit packages.

This necessity stems from the fact that the SPFx toolchain continues to use webpack 4. I'm curious to know if there are any plans to upgrade SPFx to leverage Webpack 5 in near future, potentially eliminating the need for these extra dependencies and configurations?

Thanks! Originally posted by @akshataggrwal in https://github.com/SharePoint/sp-dev-docs/discussions/9537

akshataggrwal avatar Feb 22 '24 07:02 akshataggrwal

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

ghost avatar Feb 22 '24 07:02 ghost

SPFx 1.19 will have Webpack 5 support.

s-KaiNet avatar Mar 28 '24 17:03 s-KaiNet