mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 12:05:28 +00:00
feat: add isProduction function
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
export * from './date';
|
||||
export * from './format-posts';
|
||||
export * from './is-production';
|
||||
export * from './pick-two-random-colors';
|
||||
export * from './remark-reading-time';
|
||||
export * from './remark-widont';
|
||||
|
||||
1
src/utils/is-production.ts
Normal file
1
src/utils/is-production.ts
Normal file
@@ -0,0 +1 @@
|
||||
export const isProduction = process.env.NODE_ENV === 'production';
|
||||
Reference in New Issue
Block a user