From 7be5797cc2ab236e273fe64c5ca760697db055fd Mon Sep 17 00:00:00 2001 From: Arunoda Susiripala Date: Fri, 13 Jan 2017 06:40:07 -0800 Subject: [PATCH] Use the preact-compat dist version. (#760) --- examples/using-preact/next.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/using-preact/next.config.js b/examples/using-preact/next.config.js index e26bde69..9c6e10d5 100644 --- a/examples/using-preact/next.config.js +++ b/examples/using-preact/next.config.js @@ -1,8 +1,8 @@ module.exports = { webpack: function (config) { config.resolve.alias = { - 'react': 'preact-compat', - 'react-dom': 'preact-compat' + 'react': 'preact-compat/dist/preact-compat', + 'react-dom': 'preact-compat/dist/preact-compat' } return config }