Skip to content

Commit

Permalink
experiment w/preact
Browse files Browse the repository at this point in the history
  • Loading branch information
bdougie committed May 3, 2017
1 parent b2b2a78 commit 57322e8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9,059 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@
"netlify-auth-js": "^0.5.5",
"normalize.css": "^4.2.0",
"pluralize": "^3.0.0",
"preact": "7.2.1",
"preact-compat": "3.14.3",
"preliminaries": "1.1.0",
"preliminaries-parser-toml": "1.1.0",
"preliminaries-parser-yaml": "1.1.0",
Expand Down
7 changes: 7 additions & 0 deletions webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,12 @@ module.exports = merge.smart(require('./webpack.base.js'), {
// file and reference
filename: '[file].map',
}),

],
resolve: {
alias: {
"react":"preact-compat",
"react-dom":"preact-compat",
},
},
});
Loading

0 comments on commit 57322e8

Please sign in to comment.