Skip to content

Conversation

@mootinator
Copy link

Ran into a weird edge case where the Javascript Engine went missing in production. Hotfixed my server to use VroomJs engine instead, but engine was unable to support ".map" call.

Expected behavior: Adding .DisableServerSideRendering() would at least render the site usable again.

Actual behavior: My pre-compiled scripts were still executed (and failed). Needed to comment those declarations out as well.

This PR attempts to fix that.

@mootinator
Copy link
Author

I was probably being a little hasty here. The check should probably be around the function instead of in it.

And I'm uncertain whether or not this would somehow make the case where !_config.LoadReact && !_config.UseServerSideRendering break.

@mootinator mootinator closed this Dec 13, 2018
@dustinsoftware
Copy link
Member

dustinsoftware commented Dec 14, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants