text: import path from 'path';
  
  export default {
    // mode:"production",
    mode: 'development',
    devtool: 'inline-source-map',
    entry: [
      path.resolve(__dirname, 'src/index')
    ],
    target: 'web',
    output: {
      path: path.resolve(__dirname, 'src'),
      publicPath: '/',
      filename: 'bundle.js'
    },
    plugins: [
      // // Create HTML file that includes reference to bundled JS.
    ],
    module: {
      rules: [
        {
          test: /\.js$/,
          exclude: /node_modules/,
          loaders: ['babel-loader']
        },
        {
          test: /\.css$/,
          loaders: ['style-loader', 'css-loader']
        }
      ]
    },
    devServer: {
      noInfo: false
    }
  };
  