Commit 193eaf4c authored by Conor Dockry's avatar Conor Dockry Committed by Arunoda Susiripala

Add missing ! in using-preact example (#1355) (#1356)

parent 563856f4
...@@ -3,7 +3,7 @@ const moduleAlias = require('module-alias') ...@@ -3,7 +3,7 @@ const moduleAlias = require('module-alias')
// For the development version, we'll use React. // For the development version, we'll use React.
// Because, it support react hot loading and so on. // Because, it support react hot loading and so on.
if (dev) { if (!dev) {
moduleAlias.addAlias('react', 'preact-compat') moduleAlias.addAlias('react', 'preact-compat')
moduleAlias.addAlias('react-dom', 'preact-compat') moduleAlias.addAlias('react-dom', 'preact-compat')
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment