forked from jotaijs/jotai-devtools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: vite incompatibility, fixes jotaijs#82
- Loading branch information
Showing
3 changed files
with
27 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/index.js b/index.js | ||
index 1cc5fa89a951596647e711d84cf88b1410e4d3ea..c9a2dc12634d0fd68ebf8ba5c1276e03e169409b 100644 | ||
--- a/index.js | ||
+++ b/index.js | ||
@@ -5,7 +5,7 @@ const stdoutColor = require('supports-color').stdout; | ||
|
||
const template = require('./templates.js'); | ||
|
||
-const isSimpleWindowsTerm = process.platform === 'win32' && !(process.env.TERM || '').toLowerCase().startsWith('xterm'); | ||
+const isSimpleWindowsTerm = false; | ||
|
||
// `supportsColor.level` → `ansiStyles.color[name]` mapping | ||
const levelMapping = ['ansi', 'ansi', 'ansi256', 'ansi16m']; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.