Permalink
Browse files

Added Webpack configuration to substitute Preact for React.

  • Loading branch information...
maratbn committed Jan 18, 2017
1 parent 8205f48 commit c9c8bdc432849a544c906da568285069d84a4a42
Showing with 6 additions and 0 deletions.
  1. +6 −0 webpack.config.js
@@ -19,6 +19,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 c9c8bdc

Please sign in to comment.