typescript-library-starter/src/environment.ts
2018-08-25 12:30:00 +09:00

6 lines
161 B
TypeScript

/** * @internal */
export const IS_DEV = process.env.NODE_ENV === 'development'
/** * @internal */
export const IS_PROD = process.env.NODE_ENV === 'production'