Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix source maps

Manav Rathie8dfbdd58104
diff --git a/apps/photos/.env.development b/apps/photos/.env.development
index 9e7aa7b5af..a96392fe9a 100644
--- a/apps/photos/.env.development
+++ b/apps/photos/.env.development
@@ -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
diff --git a/apps/photos/sentry.server.config.ts b/apps/photos/sentry.server.config.ts
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/packages/shared/next/next.config.base.js b/packages/shared/next/next.config.base.js
index 305c7c58d9..2d98674cf6 100644
--- a/packages/shared/next/next.config.base.js
+++ b/packages/shared/next/next.config.base.js
@@ -39,6 +39,7 @@ const nextConfig = {
// Build time Sentry configuration
sentry: {
widenClientFileUpload: true,
+ disableServerWebpackPlugin: true,
},
};