Skip to content

Commit

Permalink
Merge pull request #234 from developit/hook_alias
Browse files Browse the repository at this point in the history
Add preact/hooks alias in demo app
  • Loading branch information
marvinhagemeister authored Feb 23, 2019
2 parents a884720 + d9bd5c1 commit 4e5a069
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions demo/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
resolve: {
alias: {
["preact/debug"]: path.join(__dirname, '..', 'debug'),
["preact/hooks"]: path.join(__dirname, '..', 'hooks', 'src'),
preact: preact,
react: compat,
'react-dom': compat
Expand Down

0 comments on commit 4e5a069

Please sign in to comment.