Skip to content

Commit

Permalink
Change example in README.md to be require not import
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Jun 30, 2018
1 parent bb97770 commit 594e45f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Then import the overlay at the top of your `index.jsx` (or equivalent):
// becomes dead code in builds other than dev,
// which webpack should pick up and remove.
if(process.env.NODE_ENV === 'development') {
import 'webpack-serve-overlay';
require('webpack-serve-overlay');
}
```

Expand Down

0 comments on commit 594e45f

Please sign in to comment.