A recent issue has been reported with Dataverse's Solution Checker, where it returns critical errors when encountering Power Apps Component Framework (PCF) components. The error message suggests that the JavaScript eval function is being used, which can be exploited to run malicious code. To resolve this issue, users are advised to package their PCF control using a release build or 'npm run build -- --buildMode production' to produce a release build.
However, some users have found that manually creating a solution and building it using dotnet build instead of MSBuild can also work around the issue. This approach has its own drawbacks, including increased complexity and the need for manual intervention.
Source: https://dev.to/_neronotte/dataverse-solution-checker-doesnt-like-pcfs-1cp