Skip to content

Commit

Permalink
minify and upload source maps
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexErrant committed Oct 21, 2024
1 parent 8fd2819 commit 28254c4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api-ugc/example.wrangler.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name = "api-ugc"
main = "src/index.ts"
compatibility_date = "2024-08-12"
upload_source_maps = true

account_id = "$cloudflareAccountId"

Expand Down Expand Up @@ -28,6 +29,9 @@ preview_bucket_name = 'media-dev'
# 🚨 PRODUCTION CONFIG 🚨
# =====================================

[env.production]
minify = true

[env.production.define]
HUB_ORIGIN = "'$productionHubOrigin'"
APP_ORIGIN = "'$productionAppOrigin'"
Expand Down
4 changes: 4 additions & 0 deletions cwa/example.wrangler.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name = "cwa"
main = "src/index.ts"
compatibility_date = "2024-08-12"
upload_source_maps = true

account_id = "$cloudflareAccountId"

Expand Down Expand Up @@ -28,6 +29,9 @@ preview_bucket_name = 'media-dev'
# 🚨 PRODUCTION CONFIG 🚨
# =====================================

[env.production]
minify = true

[env.production.define]
HUB_ORIGIN = "'$productionHubOrigin'"
APP_ORIGIN = "'$productionAppOrigin'"
Expand Down

0 comments on commit 28254c4

Please sign in to comment.