提交 193eaf4c 编写于 作者: C Conor Dockry 提交者: Arunoda Susiripala

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

上级 563856f4
......@@ -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')
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册