//#region src/utilities/env.js
/**
* Utility to detect if running in a development environment.
* Compatible with multiple dev servers (Vite, Webpack, etc.)
*
* This function safely checks the NODE_ENV in a way that's compatible
* with tree-shaking and various build tools.
*/
function isDevelopment() {
	if (typeof __DEV__ !== "undefined") return __DEV__;
	if (typeof process !== "undefined" && process.env && process.env.NODE_ENV) return process.env.NODE_ENV !== "production";
	return false;
}
//#endregion
export { isDevelopment };

//# sourceMappingURL=env.mjs.map