<reponame>silent-sea1119/flask-react-template<filename>flask_react_template/client/static/webpack.config.js<gh_stars>0/**
 * @author Victor I. Afolabi
 *
 * A.I. Engineer & Software developer
 * kenaa@example.com
 *
 * Created on 31 January, 2018 @ 3:13 PM.
 * Copyright © 2018. Victor. All rights reserved.
 */

const webpack = require('webpack');

const config = {
  entry: __dirname + '/js/index.jsx',

  output: {
    path: __dirname + '/dist',
    filename: 'bundle.js',
  },

  resolve: {
    extensions: ['.js', '.jsx', '.css']
  },

  module: {
    rules: [
      {
        test: /\.jsx?/,
        exclude: /node_modules/,
        use: 'babel-loader'
      }
    ]
  },

};


module.exports = config;
