Replies: 6 comments 8 replies
-
|
Hi, It's unclear how to customize webpack in the new toolchain. The page SharePoint Framework Toolchain: Rush Stack, Heft, & Webpack mention, as far as I understand, that we should customize webpack through the heft configuration files. The heft webpack plugin suggest we can create a root webpack.config.js file. But it doesn't work, the file does not seems to be called at all. Also tried inside config folder. A simple sample would be appreciated. Like the old toolchain explained how to add some custom loaders. Thanks |
Beta Was this translation helpful? Give feedback.
-
|
We are aware of an issue with ListView command sets in this beta release and are investigating. |
Beta Was this translation helpful? Give feedback.
-
|
Some CSS issues were reported in #10466 The first issue we are not likely to fix at present, please use the Heft configurations as-is. Tickets can be directly opened in the Rush Stack repo for suggested changes to default Heft plugins. Note: if there are configurations that are not available in Heft, that were available in gulp-based toolchain, please do comment here or open a ticket, we will fix issues if there is not a direct migration available in Heft. For the 2nd reported issue, we are aware that module scss files are not being treated as such. This is a configuration issue in the SPFx Heft rig, it will be addresses. Most likely the behavior will be adjusted as follows: in the Gulp toolchain, For the 3rd reported issue, this should be fixed with proper support for module scss, but we will be sure to validate this scenario. |
Beta Was this translation helpful? Give feedback.
-
|
Mac OS users are experiencing infinite rebuilds: #10458 This is actually an issue with the TypeScript watcher and was fixed in TypeScript 5.4.0: microsoft/TypeScript#56403 We resolved this by upgrading |
Beta Was this translation helpful? Give feedback.
-
|
Hello, During initial testing with SPFx 1.22.0-beta.4, I noticed that the final *.sppkg bundle size of our largest solution with multiple components in the --production build is ~53% larger than with SPFx 1.21.1. Could this still change before GA, or is it possibly due to our solution? In terms of content, we haven't changed anything except for dependency updates and the SPFx update. I created the build as follows: Thanks & best regards, |
Beta Was this translation helpful? Give feedback.
-
|
Hi, It seems new version does not support webpack code splitting. Is this intentional? Thanks! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Please use this post as an aggregated discussion place for ideas and feedback that don't necessarily warrant an Issue ticket.
Prior feedback posts:
Beta Was this translation helpful? Give feedback.
All reactions