{"size": 612, "ext": "js", "max_stars_repo_path": "praas-app/src/cfg/assets.js", "max_stars_repo_name": "A1Aadi/praas", "max_stars_repo_stars_event_min_datetime": "2019-01-02T22:06:42.000Z", "max_stars_repo_stars_event_max_datetime": "2021-04-13T13:15:00.000Z", "max_issues_repo_path": "praas-app/src/cfg/assets.js", "max_issues_repo_name": "A1Aadi/praas", "max_issues_repo_issues_event_min_datetime": "2019-01-01T11:30:59.000Z", "max_issues_repo_issues_event_max_datetime": "2020-11-28T11:06:14.000Z", "max_forks_repo_path": "praas-app/src/cfg/assets.js", "max_forks_repo_name": "A1Aadi/praas", "max_forks_repo_forks_event_min_datetime": "2020-09-03T19:12:52.000Z", "max_forks_repo_forks_event_max_datetime": "2020-11-13T18:26:36.000Z"}
{"max_stars_count": 4, "max_issues_count": 147, "max_forks_count": 2, "avg_line_length": 21.8571428571, "max_line_length": 70, "alphanum_fraction": 0.5522875817}
module.exports = (wpc) => {
  const test = /\.(woff|woff2|ttf|eot|svg)(\?[\s\S]+)?$/;
  const exclude = /(node_modules|bower_components)/;

  // url-loader builds on top of file-loader to optionally convert
  // assets into data url based on limit... TODO: needs more play time
  const loaders = [
    {
      loader: 'url-loader',
      options: {
        name: 'assets/fonts/[name].[ext]',
        // outputPath: 'assets/fonts',
        limit: wpc.options.inlineBelow
      }
    },
  ];

  const module = {
    rules: [
      {
        test, exclude, use: loaders
      },
    ]
  };

  return { module };
};
