text: const path = require('path');
  const HtmlWebpackPlugin = require("html-webpack-plugin");
  const htmlWebpackPlugin = new HtmlWebpackPlugin({
  	template: path.join(__dirname, "src/test/browser/index.html")
  });
  module.exports = {
  	mode: "development",
      entry: path.join(__dirname, "src/test/browser/index.js"),
      module: {
          rules: [
              {
                  test: /\.(js|jsx)$/,
                  use: "babel-loader",
                  exclude: /node_modules/
              },
              {
                  test: /\.s[ac]ss$/i,
                  use: [
                    // Creates `style` nodes from JS strings
                    'style-loader',
                    // Translates CSS into CommonJS
                    'css-loader',
                    // Compiles Sass to CSS
                    'sass-loader',
                  ],
              },
              {
                  test: /\.(woff(2)?|ttf|eot|svg)(\?v=\d+\.\d+\.\d+)?$/,
                  use: [
                  {
                      loader: 'file-loader',
                      options: {
                      name: '[name].[ext]',
                      outputPath: 'fonts/'
                      }
                  }
                  ]
              }
          ]
      },
      plugins: [htmlWebpackPlugin],
      resolve: {
          extensions: [".js", ".jsx"]
      },
      devtool: "source-map",
      devServer: {
          port: 3003
      },
      externals: {
      	"react": "React",
          "react-dom": "ReactDOM"
      }
  };