Skip to content

Commit

Permalink
_BUG_ tempfix: disable kolorist until a ESM PR is merged
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenesvk committed Jun 27, 2022
1 parent 21bc830 commit 45eb7c9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/utils.ts
@@ -1,5 +1,5 @@
import { resolve } from 'path'
import { bgCyan, black } from 'kolorist'
// import { bgCyan, black } from 'kolorist' // breaks with "moduleResolution": "nodenext", PR https://github.com/marvinhagemeister/kolorist/pull/14

export const port = parseInt(process.env.PORT || '') || 3303
export const r = (...args: string[]) => resolve(__dirname, '..', ...args)
Expand All @@ -8,5 +8,6 @@ export const isWin = process.platform === "win32";

export function log(name: string, message: string) {
// eslint-disable-next-line no-console
console.log(black(bgCyan(` ${name} `)), message)
// console.log(black(bgCyan(` ${name} `)), message)
console.log(` ${name} `, message)
}

0 comments on commit 45eb7c9

Please sign in to comment.