Permalink
Browse files

Added Webpack configuration to use the Babel loader for JSX files.

  • Loading branch information...
maratbn committed Jan 17, 2017
1 parent bba196d commit 9488a5cc787605c7debd7149e6540e3938315851
Showing with 6 additions and 0 deletions.
  1. +6 −0 webpack.config.js
@@ -7,6 +7,12 @@ const path = require('path');
module.exports = {
entry: [path.join(__dirname, 'webpack_in', 'entry.js')],
module: {
loaders: [{
loader: 'babel-loader',
test: /\.jsx$/
}]
},
output: {
path: path.join(__dirname, 'webpack_out'),
filename: 'minimalistic_react.js'

0 comments on commit 9488a5c

Please sign in to comment.