text: const webpack = require('webpack');
  
  module.exports = {
    entry: {
      filename: './app.js'
    },
    output: {
      filename: './build.js'
    },
    module: {
      rules: [
        {
          test: /\.js$/,
          exclude: /node_modules/,
          loader: 'babel-loader'
          // options: {
          //   presets: ['@babel/preset-env']
          // }
          // query: {
          //   presets: ['es2015', { modules: false }]
          // }
        }
      ]
    }
  };
  