BUG - app not rendering JS logic as a standalone in production

#3 · open · 0 comments

View on GitHub ↗

ovsundal

Problem: When building and serving one of the applications as a standalone, it will not render any JS logic. Solution: Remove the `if (process.env.NODE_ENV === 'development') {....` guard in bootstrap.tsx (there is no logic in bootstrap.tsx that calls the mount function if `process.env.NODE_ENV === "production"`).

Comments