@elementor/sandbox-dev-scripts-injector 0.0.9 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elementor/sandbox-dev-scripts-injector",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "exports": {
@@ -5,7 +5,9 @@ if (gcsUrl) {
5
5
  script.src = `${gcsUrl}/sandbox-web-client/loader.js?t=${Date.now()}`;
6
6
  document.head.appendChild(script);
7
7
 
8
- console.log('[Sandbox Client] Loading client from:', gcsUrl);
9
- } else {
8
+ if (import.meta.env.VITE_ENV_TYPE !== 'production') {
9
+ console.log('[Sandbox Client] Loading client from:', gcsUrl);
10
+ }
11
+ } else if (import.meta.env.VITE_ENV_TYPE !== 'production') {
10
12
  console.log('[Sandbox Client] In dev mode but no GCS URL configured');
11
13
  }