JS Environment Weirdness

Hey JSteam.

I am working on an email composer widget. When I stop server and run rpm run build:upload I am getting a weird error.

First image is how it looks when it is served. Second is how it looks after upload. Tried resetting distribution folder and even reinstalled from GitHub. Thoughts?