text: var path = require('path');
  var HtmlWebpackPlugin =  require('html-webpack-plugin');
  
  module.exports = {
      entry : './app/index.js',
      output : {
          path : path.resolve(__dirname , 'dist'),
          filename: 'index.bundle.js'
      },
      module : {
          rules : [
              {test : /\.jsx?$/, include: path.resolve(__dirname, 'app'), use:'babel-loader'},
              {test : /\.css$/, use:['style-loader', 'css-loader']},
              {
                  test: /\.(png|jpg|gif|svg)$/,
                  loader: 'file-loader',
                  options: {
                    name: 'assets/[name].[ext]?[hash]'
                  }
                },
          ]
      },
      mode:'development',
      plugins : [
          new HtmlWebpackPlugin ({
              template : 'app/index.html'
          })
      ]
  
  }