-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: PCF build error pragma and pragmaFrag cannot be set when runtime is automatic. #29126
Comments
Are you compiling Fluent sources? I.e. is there a Can you please provide a minimal reproduction case? On Stackblitz or a Github repo. |
Hi @layershifter, |
I had the same issue. The pcf-scripts package replaced esbuild-loader with babel-loader in 1.26.5. I downgraded the package to 1.20.3 and the build was successful. Hope this helps. |
Hi @MaTeMaTuK. I solved it by extending the Webpack configuration.
|
@MaTeMaTuK thanks for providing the example. In your case, A simpler repro on Stackblitz: https://stackblitz.com/edit/stackblitz-starters-qn6rv5 |
The release just came to NPM, comments causing problems are no longer present 🐱 |
Library
React Components / v9 (@fluentui/react-components)
System Info
Are you reporting Accessibility issue?
None
Reproduction
Create PCF component and install latest @fluentui/react-components, build
Bug Description
Library requires the latest React version and it conflicts with current PCF for D365 setup. Can you help with harmonization from here ?
Actual Behavior
\node_modules@fluentui\react-tree\lib\components\Tree\renderTree.js: pragma and pragmaFrag cannot be set when runtime is automatic.
Expected Behavior
Logs
No response
Requested priority
Blocking
Products/sites affected
No response
Are you willing to submit a PR to fix?
yes
Validations
The text was updated successfully, but these errors were encountered: