Permalink
Browse files

Added Webpack configuration to substitute Preact for React.

  • Loading branch information...
maratbn committed Jan 18, 2017
1 parent 7284c28 commit 615d415133cc8a8adabda245dfc497fa4a9c1b29
Showing with 6 additions and 0 deletions.
  1. +6 −0 webpack.config.js
@@ -17,6 +17,12 @@ module.exports = {
}
}]
},
resolve: {
alias: {
'react': 'preact-compat',
'react-dom': 'preact-compat'
}
},
output: {
path: path.join(__dirname, 'webpack_out'),
filename: 'minimalistic_react.js'

0 comments on commit 615d415

Please sign in to comment.