sp-dev-docs
sp-dev-docs copied to clipboard
Microsoft Graph Toolkit 4 + SPFx1.18
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
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
SPFx 1.19 will have Webpack 5 support.