text: const webpack = require('webpack');
  const path = require('path');
  
  module.exports = {
      entry: './src/index.js',
      output: {
          path: path.resolve(__dirname + "/src"),
          filename: 'bundle.js'
      },
      mode:"none",
      module: {
          rules: [
              {
                  test: /\.css$/,
                  use: ['style-loader', 'css-loader'],
              },
              {
                  test: /\.(js|jsx)$/,
                  exclude: "/node_modules",
                  use: ['babel-loader'],
              },
              {
                  test: /\.js$/,
                  include: path.join(__dirname),
                  exclude: /(node_modules)|(build)/,
                  use: {
                      loader: 'babel-loader',
                      options: {
                          presets: ['@babel/preset-env']
                      }
                  }
              },
              {
                  test:/\.(png|jpg|svg)$/,
                  use:[
                      'file-loader'
                  ]
              }
          ]
      },
      node: {
          fs: "empty"
       },
      // webpack.config.js
      devServer: {
          contentBase: __dirname + "/src/",
          inline: true,
          hot: true,
          host: "localhost",
          port: 5500
      }
  };