FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
codex/codex-cli/ignore-react-devtools-plugin.js at main · unidevel/codex · GitHub
unidevel
/
codex
Public
forked from
openai/codex
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
codex
/
codex-cli
/
ignore-react-devtools-plugin.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
16 lines (15 loc) · 536 Bytes
Breadcrumbs
codex
/
codex-cli
/
ignore-react-devtools-plugin.js
Copy path
File metadata and controls
16 lines (15 loc) · 536 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// ignore-react-devtools-plugin.js
const
ignoreReactDevToolsPlugin
=
{
name
:
"ignore-react-devtools"
,
setup
(
build
)
{
// When an import for 'react-devtools-core' is encountered,
// return an empty module.
build
.
onResolve
(
{
filter
:
/
^
r
e
a
c
t
-
d
e
v
t
o
o
l
s
-
c
o
r
e
$
/
}
,
(
args
)
=>
{
return
{
path
:
args
.
path
,
namespace
:
"ignore-devtools"
}
;
}
)
;
build
.
onLoad
(
{
filter
:
/
.
*
/
,
namespace
:
"ignore-devtools"
}
,
(
)
=>
{
return
{
contents
:
""
,
loader
:
"js"
}
;
}
)
;
}
,
}
;
module
.
exports
=
ignoreReactDevToolsPlugin
;
Back
|
FazBrowse Home
|
New Git URL