@lightningjs/solid
Advanced tools
Comparing version 0.6.7 to 0.6.8
@@ -713,3 +713,3 @@ import { createSignal, createRenderEffect, untrack, sharedConfig, createEffect, mergeProps as mergeProps$1, createRoot, createMemo, createComponent as createComponent$1 } from 'solid-js'; | ||
} | ||
const isDev = import.meta.env.MODE === 'development'; | ||
const isDev = import.meta?.env?.MODE === 'development'; | ||
function log(msg, node, ...args) { | ||
@@ -1796,3 +1796,3 @@ if (isDev) { | ||
const loadInspector = import.meta.env.MODE === 'development'; | ||
const loadInspector = import.meta?.env?.MODE === 'development'; | ||
if (loadInspector) { | ||
@@ -1799,0 +1799,0 @@ attachInspector(); |
@@ -21,3 +21,3 @@ /* eslint-disable @typescript-eslint/unbound-method */ | ||
import universalInspector, { attachInspector, } from './universal/dom-inspector.js'; | ||
const loadInspector = import.meta.env.MODE === 'development'; | ||
const loadInspector = import.meta?.env?.MODE === 'development'; | ||
if (loadInspector) { | ||
@@ -24,0 +24,0 @@ attachInspector(); |
@@ -34,3 +34,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
} | ||
const isDev = import.meta.env.MODE === 'development'; | ||
const isDev = import.meta?.env?.MODE === 'development'; | ||
export function log(msg, node, ...args) { | ||
@@ -37,0 +37,0 @@ if (isDev) { |
{ | ||
"name": "@lightningjs/solid", | ||
"version": "0.6.7", | ||
"version": "0.6.8", | ||
"description": "Lightning renderer for solid universal", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -26,3 +26,3 @@ /* eslint-disable @typescript-eslint/unbound-method */ | ||
const loadInspector = import.meta.env.MODE === 'development'; | ||
const loadInspector = import.meta?.env?.MODE === 'development'; | ||
if (loadInspector) { | ||
@@ -29,0 +29,0 @@ attachInspector(); |
@@ -39,3 +39,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
} | ||
const isDev = import.meta.env.MODE === 'development'; | ||
const isDev = import.meta?.env?.MODE === 'development'; | ||
export function log(msg: string, node: SolidNode, ...args: any[]) { | ||
@@ -42,0 +42,0 @@ if (isDev) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
336694
47