mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add isNetlify env helper
This commit is contained in:
parent
1e782c1f18
commit
232b3ae1c3
2 changed files with 4 additions and 2 deletions
|
|
@ -4,4 +4,6 @@ import path from 'path'
|
|||
|
||||
export const isProduction = process.env.NODE_ENV === 'PRODUCTION'
|
||||
|
||||
export const isNetlify = process.env.NETLIFY === true
|
||||
|
||||
export const rootDir = path.resolve(__dirname, '../')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue