text: const path = require('path');
  
  module.exports = {
      entry: './src/client.js',
      output: {
          path: path.resolve(__dirname, 'assets'),
          filename: 'bundle.js'
      },
      module: {
          rules: [
              {
                  test: /\.js$/,
                  exclude: /(node_modules)/,
                  use: {
                      loader: 'babel-loader',
                      options: {
                          presets: ['@babel/preset-env']
                      }
                  }
              },
              {
                  test: /\.scss$/,
                  use: [
                      "style-loader", // creates style nodes from JS strings
                      "css-loader", // translates CSS into CommonJS
                      "sass-loader" // compiles Sass to CSS, using Node Sass by default
                  ]
              }
          ]
      }
  };