Open yodasad opened 4 months ago
It seems there are some changes in a blazor.server.js file from ASP,NET Core 8 which make old React.AspNet Babel crash during transpiling.
[ERR] : 2024-04-16T17:52:52.5005896+03:00 | 0HN2U4JDPFO6R:00000001 | On path '/_framework/blazor.server.js' - [Events success status] BeforeTransform: True, Transform: False, BeforeMinification: True, Minification: True Error Message: Error: /blazor.server.js: Expected atom at position 3 ^\s*Blazor-Se ^ at a (React.Core.Resources.babel.generated.min.js:1:1608241) -> ……. Consider exception analysis with 'BlazorPolyfillOptions.OnES5ConvertFailure' method and prior code fixing before transform through 'BlazorPolyfillOptions.BeforeES5TransformHandler'
Thanks for your message !
Not sure yet when I will take some time to try to fix it. It's probably a Regex issue yes. Maybe I will take a look soon. Can't you try to do a fix and PR ?
It seems there are some changes in a blazor.server.js file from ASP,NET Core 8 which make old React.AspNet Babel crash during transpiling.