mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
feat: add dev-firefox build-firefox npm scripts
This commit is contained in:
@@ -5,6 +5,7 @@ export const port = parseInt(process.env.PORT || '') || 3303
|
||||
export const r = (...args: string[]) => resolve(__dirname, '..', ...args)
|
||||
export const isDev = process.env.NODE_ENV !== 'production'
|
||||
export const isWin = process.platform === 'win32'
|
||||
export const isFirefox = process.env.FIREFOX === 'true'
|
||||
|
||||
export function log(name: string, message: string) {
|
||||
console.log(black(bgCyan(` ${name} `)), message)
|
||||
|
||||
Reference in New Issue
Block a user