text: var path = require('path')
  
  module.exports = {
    entry: './app/index.js',
    output: {
      filename: 'bundle.js',
      path: path.resolve(__dirname, 'dist')
    },
    module: {
      rules: [
        {
          test: /.js$/,
          exclude: ['/node_modules/'],
          include: path.join(__dirname, 'app'),
          use: [
            {
              loader: 'babel-loader',
              options: {
                babelrc: false,
                presets: [
                  ['es2015', {modules: false}],
                  'react'
                ]
              }
            }
          ]
        },
        {
          test: /\.(pcss|css)$/,
          use: [
            {
              loader: 'style-loader'
            },
            {
              loader: 'css-loader',
              options: {
                modules: true,
                sourceMap: true,
                importLoaders: 1,
                localIdentName: '[name]--[local]--[hash:base64:8]'
              }
            },
            {
              loader: 'postcss-loader',
              options: {
                config: './postcss.config.js'
              }
            }
          ]
        }
      ]
    }
  }