text: const path = require( 'path' );
  
  module.exports = {
      context: __dirname,
      entry: './src/js/index.js',
      output: {
          path: path.resolve( __dirname, 'public/js' ),
          filename: 'app.js',
          clean: true,
      },
      module: {
          rules: [
              {
                  test: /\.js$/,
                  include: path.resolve(__dirname, 'src/js'),
                  exclude: /node_modules/,
              },
          ]
      },
  };
  