mirror of https://github.com/msgbyte/tailchat
refactor: 优化cli应用,隐藏wip的命令,并更新README
parent
bba9ff69d2
commit
97c152914d
@ -0,0 +1,6 @@
|
||||
/**
|
||||
* 判断是否为开发环境
|
||||
*/
|
||||
export function isDev(): boolean {
|
||||
return process.env.NODE_ENV === 'development';
|
||||
}
|
Loading…
Reference in New Issue