1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

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

This commit is contained in:
Conor Dockry 2017-03-06 00:16:02 -05:00 committed by Arunoda Susiripala
parent 563856f477
commit 193eaf4c9e

View file

@ -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')
}