From 193eaf4c9e5f4b6905eccfe0ac5e725e5b9da68b Mon Sep 17 00:00:00 2001 From: Conor Dockry Date: Mon, 6 Mar 2017 00:16:02 -0500 Subject: [PATCH] Add missing ! in using-preact example (#1355) (#1356) --- examples/using-preact/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/using-preact/server.js b/examples/using-preact/server.js index 7ecf74fd..1649c81a 100644 --- a/examples/using-preact/server.js +++ b/examples/using-preact/server.js @@ -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') }