fix: .env.production from allowing console logs on build#1273
Conversation
WalkthroughThis pull request removes a specific comment and an environment variable from the production configuration file. The changes disable console log output in the production environment by deleting the log-related comment and the Changes
Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (4)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
This plugin has been deployed to Cloudflare R2 and is available for testing. |
`VITE_ALLOW_CONSOLE_LOGS` should not be present in `.env.production`. We don't want basic debugs logs in prod. Found this because the latest OS release `7.1.0-beta.1.6` which included the latest web components had debug logs included. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Disabled non-essential console logging in the production environment for a cleaner runtime experience. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
🤖 I have created a release *beep* *boop* --- ## [4.4.1](v4.4.0...v4.4.1) (2025-03-26) ### Bug Fixes * .env.production from allowing console logs on build ([#1273](#1273)) ([32acc2d](32acc2d)) * patch version override logic incorrect ([#1275](#1275)) ([6a59756](6a59756)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
VITE_ALLOW_CONSOLE_LOGSshould not be present in.env.production. We don't want basic debugs logs in prod.Found this because the latest OS release
7.1.0-beta.1.6which included the latest web components had debug logs included.Summary by CodeRabbit