Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
d29fb006
Commit
d29fb006
authored
8 years ago
by
Pedro Nauck
Committed by
Dan Abramov
8 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Add missing import in react-dev-utils README.md (#1369)
parent
11cc5aef
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/react-dev-utils/README.md
+2
-0
packages/react-dev-utils/README.md
with
2 additions
and
0 deletions
+2
-0
packages/react-dev-utils/README.md
+
2
-
0
View file @
d29fb006
...
...
@@ -117,6 +117,7 @@ Extracts and prettifies warning and error messages from webpack [stats](https://
```
js
var
webpack
=
require
(
'
webpack
'
);
var
config
=
require
(
'
../config/webpack.config.dev
'
);
var
formatWebpackMessages
=
require
(
'
react-dev-utils/formatWebpackMessages
'
);
var
compiler
=
webpack
(
config
);
...
...
@@ -184,6 +185,7 @@ You can control the behavior on `<Enter>` with `isYesDefault`.
```
js
var
prompt
=
require
(
'
react-dev-utils/prompt
'
);
prompt
(
'
Are you sure you want to eat all the candy?
'
,
/* isYesDefault */
false
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets