Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/danielroe/unsight.dev. Detect duplicate GitHub issues, areas of concern and more across related rep unsight.dev
Something went wrong. Try again.
473 B · 12 lines
TypeScript
at web-ext
12345678910111213import { resolve } from 'node:path'import process from 'node:process'import { bgCyan, black } from 'kolorist'
export const port = Number(process.env.PORT || '') || 3303export const r = (...args: string[]) => resolve(__dirname, '..', ...args)export const isDev = process.env.NODE_ENV !== 'production'export const isFirefox = process.env.EXTENSION === 'firefox'
export function log(name: string, message: string) { console.log(black(bgCyan(` ${name} `)), message)}