Engineering @Ona (formerly Gitpod) | Maintainer OpenFGA, GitHub1s | Opinions are personal | Personal blog: https://siddhantkhare2694.medium.com | More on siddhantkhare.com
Yeah, I had the same point that mistake is to take sourcemaps to Prod. That's why I added the sourcemap false script to to the build script and not to the development script
There's is nothing wrong in building it in production. You ideally should build it, you can't use development sourcemaps to trace errors in production builds. The key is to exclude them from the publishing part.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Yeah, I had the same point that mistake is to take sourcemaps to Prod. That's why I added the
sourcemap falsescript to to thebuild scriptand not to thedevelopment scriptThere's is nothing wrong in building it in production. You ideally should build it, you can't use development sourcemaps to trace errors in production builds. The key is to exclude them from the publishing part.