From e00c491064041074974da0132879e8e67b1c1c78 Mon Sep 17 00:00:00 2001 From: Drew Miller <49833875+wwdrew@users.noreply.github.com> Date: Thu, 8 Jul 2021 17:14:05 +0100 Subject: [PATCH] fix: use external chalk library to stop os/tty import errors on React Native --- rollup.config.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rollup.config.ts b/rollup.config.ts index 246d37416..212464c0a 100644 --- a/rollup.config.ts +++ b/rollup.config.ts @@ -142,8 +142,7 @@ const buildNode = { const buildNative = { input: 'src/native/index.ts', external: [ - 'tty', - 'os', + 'chalk', 'util', 'events', '@mswjs/interceptors',