{"size": 1358, "ext": "js", "max_stars_repo_path": "build_config/rules.config.js", "max_stars_repo_name": "samgermain/react-boiler-plate", "max_stars_repo_stars_event_min_datetime": "2021-08-10T00:58:37.000Z", "max_stars_repo_stars_event_max_datetime": "2021-10-15T10:35:11.000Z", "max_issues_repo_path": "build_config/rules.config.js", "max_issues_repo_name": "samgermain/react-boiler-plate", "max_issues_repo_issues_event_min_datetime": "2021-07-16T03:25:49.000Z", "max_issues_repo_issues_event_max_datetime": "2021-07-16T03:25:49.000Z", "max_forks_repo_path": "build_config/rules.config.js", "max_forks_repo_name": "samgermain/react-boiler-plate", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 17.4102564103, "max_line_length": 64, "alphanum_fraction": 0.4064801178}
const MiniCssExtractPlugin = require("mini-css-extract-plugin");

module.exports = [
  {
    test: /\.(js|jsx)$/,
    use: ["babel-loader", "source-map-loader"],
    exclude: /node_modules/,
  },
  {
    test: /\.(scss|css)$/,
    use: [
      MiniCssExtractPlugin.loader,
      {
        loader: "css-loader",
        options: {
          importLoaders: 1,
        },
      },
      "postcss-loader",
      "sass-loader",
    ],
  },
  {
    test: /\.(gif|png|jpg|jpeg|webm|webp)$/i,
    use: [
      "file-loader",
      {
        loader: "image-webpack-loader",
        options: {
          bypassOnDebug: true,
          disable: true,
        },
        // name: "[path][name].[ext]"
      },
    ],
  },
  {
    test: /manifest.js$/,
    use: [
      {
        loader: "file-loader",
        options: {
          name: "ui/[name].[hash].json",
        },
      },
      "extract-loader",
    ],
  },
  {
    test: /\.(mp4|mov)$/,
    use: "file-loader?name=videos/[name].[ext]",
  },
  {
    test: /\.(pdf)$/,
    use: [
      {
        loader: "file-loader",
        options: {
          name: "[name].[ext]",
        },
      },
    ],
  },
  {
    test: /\.svg$/,
    use: [
      {
        loader: "@svgr/webpack",
        options: {
          rule: {
            include: ["src/assets/images/svg"],
          },
        },
      },
    ],
  },
];
