- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.7k
Closed
getsentry/sentry-docs
#5621Labels
Meta: Help WantedPackage: remixIssues related to the Sentry Remix SDKIssues related to the Sentry Remix SDKType: Documentation
Description
Discussed in #5732
Originally posted by thomasverleye September 13, 2022
When running remix build --sourcemap you'll get following warning:
$ remix build --sourcemap
Building Remix app in production mode...
⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
You have enabled source maps in production. This will make your server-side code visible to the public and is highly discouraged! If you insist, please ensure you are using environment variables for secrets and not hard-coding them into your source!
⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
Built in 501msThis is a valid warning they are raising, shouldn't user be advised to remove the sourcemap after uploading it to Sentry with the CLI?
And if so can we add this as a suggestion in the docs?
Metadata
Metadata
Assignees
Labels
Meta: Help WantedPackage: remixIssues related to the Sentry Remix SDKIssues related to the Sentry Remix SDKType: Documentation