import packageInfo from '../../../package.json';

// 어플리케이션 running environment (development, production, test)
export const IS_LOCAL = import.meta.env.VITE_APP_ENV === 'local';
export const IS_TEST = import.meta.env.VITE_APP_ENV === 'test';
export const IS_DEV = import.meta.env.VITE_APP_ENV === 'development';
export const IS_PROD = import.meta.env.VITE_APP_ENV === 'production';
export const IS_STORYBOOK = !!import.meta.env.STORYBOOK;

export const IS_DEV_PHASE = IS_LOCAL || IS_DEV;

export const IS_MOCK_PHASE = import.meta.env.VITE_APP_ENV === 'mock';

export const RELEASE_VERSION = packageInfo.version;
