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 b7f5ab2 commit 4317b6b
Show file tree
Hide file tree
Showing 3 changed files with 1,705 additions and 1,589 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,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",
"prismjs": "^1.5.1",
"prosemirror-commands": "^0.16.0",
"prosemirror-history": "^0.16.0",
Expand Down
7 changes: 7 additions & 0 deletions webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,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 4317b6b

Please sign in to comment.