Skip to content

Commit

Permalink
Use the preact-compat dist version. (#760)
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoda authored and impronunciable committed Jan 13, 2017
1 parent 3b3353f commit 7be5797
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/using-preact/next.config.js
Original file line number Diff line number Diff line change
@@ -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
}
Expand Down

0 comments on commit 7be5797

Please sign in to comment.