Fix source maps

This commit is contained in:
Manav Rathi 2024-02-10 21:33:24 +05:30
parent d54ff83bba
commit e8dfbdd581
3 changed files with 6 additions and 5 deletions

View file

@ -8,7 +8,7 @@
# `.env.local` is picked up by Next.js when NODE_ENV is 'development' (it is
# 'production' by default, but gets set to 'development' when we run `next dev`)
#
# Alternatively, these variables can be provided as environment variables e.g.
# Alternatively, these variables can be provided as environment variables, say:
#
# NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:3000 yarn dev:photos
#
@ -57,14 +57,14 @@
#
# NEXT_PUBLIC_ENTE_FAMILY_PORTAL_ENDPOINT = http://localhost:3003
# Set this to "true" to disable the upload of files of Cloudflare Workers.
# Set this to "true" to disable the upload of files via Cloudflare Workers.
#
# These workers were introduced as a way of make the file uploads faster
# These workers were introduced as a way of make file uploads faster:
# https://ente.io/blog/tech/making-uploads-faster/
#
# By default, that's the route we take. However, during development it can be
# convenient to turn this flag on and instead directly upload to the
# S3-compatible URLs returned by the ente API.
# convenient to turn this flag on to directly upload to the S3-compatible URLs
# returned by the ente API.
#
# NEXT_PUBLIC_ENTE_DIRECT_UPLOAD = true

View file

View file

@ -39,6 +39,7 @@ const nextConfig = {
// Build time Sentry configuration
sentry: {
widenClientFileUpload: true,
disableServerWebpackPlugin: true,
},
};