mirror of
https://github.com/wahyd4/vuepress.git
synced 2026-08-19 18:25:51 +10:00
6 lines
183 B
JavaScript
6 lines
183 B
JavaScript
const isDebug = process.argv.indexOf('--debug') !== -1
|
|
const isProduction = () => process.env.NODE_ENV === 'production'
|
|
|
|
exports.isDebug = isDebug
|
|
exports.isProduction = isProduction
|