text: const path = require('path');
  
  module.exports = {
      mode: 'production',
      entry: '/src/index.js',
      output: {
          path: path.resolve(__dirname, 'dist'),
          filename: 'pita-weather.js'
      },
      // node: {
      //     net: 'empty',
      //     fs: 'empty'
      // },
      module: {
          rules: [
              {
                  test: /\.js$/,
                  exclude: /(node_modules|bower_components)/,
                  use: {
                      loader: 'babel-loader',
                      options: {
                          presets: ['es2015']
                      }
                  }
              }
          ]
      }
  };