-
Notifications
You must be signed in to change notification settings - Fork 650
How to remove source maps? #59
Comments
What's your motivation to make this change? Curious if this is a build time issue, a bandwidth concern, or something else. Your specific suggestion would not apply here, because Found a pertinent discussion about making such a customization through create-react-app. Otherwise, the inner & main buildpack could be forked and modified to delete that file after build. See architecture for how these pieces fit together. |
@mars I just don't want to show full source code in production mode. In other projects where I use I think |
That's not a convincing reason for why I should add such a feature. You're welcome to eject or fork the buildpack to do this. |
I just found that
|
Thanks for following-up @lavrton. Glad to see the fix ended up being so simple. |
Is there a way to just skip/avoid some files to the sourcemap? |
@hugomosh |
SET GENERATE_SOURCEMAP=false |
Are there any ways to disable/remove them?
It will be nice if I can just set
source_map_enabled: false
in static.json.The text was updated successfully, but these errors were encountered: