File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 * For full license text, see the license.txt file in the repo root or http://www.apache.org/licenses/LICENSE-2.0
66 */
77
8+ // Disable telemetry in development mode to avoid polluting production data
9+ process . env . SFCC_DISABLE_TELEMETRY = process . env . SFCC_DISABLE_TELEMETRY || 'true' ;
10+
811// Load .env file if present (Node.js native support)
912try {
1013 process . loadEnvFile ( ) ;
Original file line number Diff line number Diff line change @@ -222,6 +222,8 @@ Storefront Next development tools for building modern storefronts.
222222
223223The MCP server collects anonymous usage telemetry to help improve the developer experience. Telemetry is enabled by default.
224224
225+ ** Development mode** : Telemetry is automatically disabled when using ` bin/dev.js ` , so local development and testing won't pollute production data.
226+
225227### Disabling Telemetry
226228
227229Set one of these environment variables to disable telemetry:
Original file line number Diff line number Diff line change 55 * For full license text, see the license.txt file in the repo root or http://www.apache.org/licenses/LICENSE-2.0
66 */
77
8+ // Disable telemetry in development mode to avoid polluting production data
9+ process . env . SFCC_DISABLE_TELEMETRY = process . env . SFCC_DISABLE_TELEMETRY || 'true' ;
10+
811// Load .env file if present (Node.js native support)
912try {
1013 process . loadEnvFile ( ) ;
You can’t perform that action at this time.
0 commit comments