Skip to content

Commit

Permalink
Add missing ! in using-preact example (#1355) (#1356)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdock1029 authored and arunoda committed Mar 6, 2017
1 parent 563856f commit 193eaf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/using-preact/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const moduleAlias = require('module-alias')

// For the development version, we'll use React.
// Because, it support react hot loading and so on.
if (dev) {
if (!dev) {
moduleAlias.addAlias('react', 'preact-compat')
moduleAlias.addAlias('react-dom', 'preact-compat')
}
Expand Down

0 comments on commit 193eaf4

Please sign in to comment.