Permalink
Browse files

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

  • Loading branch information...
maratbn committed Jan 17, 2017
1 parent b555694 commit 82cfbe5e03ad314d28fb2a1351ea92a4e4de441d
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 82cfbe5

Please sign in to comment.