From ccc86826db3fa98252ba20824d9c564e70f8e5e6 Mon Sep 17 00:00:00 2001 From: Pedro Nauck Date: Tue, 10 Jan 2017 14:24:15 -0200 Subject: [PATCH] Add missing import in react-dev-utils README.md --- packages/react-dev-utils/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/react-dev-utils/README.md b/packages/react-dev-utils/README.md index 3c6a10f62e0..a9adffb6605 100644 --- a/packages/react-dev-utils/README.md +++ b/packages/react-dev-utils/README.md @@ -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 `` with `isYesDefault`. ```js var prompt = require('react-dev-utils/prompt'); + prompt( 'Are you sure you want to eat all the candy?', /* isYesDefault */ false