<commit_before>var babelify = require("babelify"),
  browserify = require("browserify"),
  cleanhtml = require("gulp-cleanhtml"),
  concat = require("gulp-concat"),
  del = require("del"),
  eslint = require("gulp-eslint"),
  globby = require("globby"),
  gulp = require("gulp"),
  gutil = require("gulp-util"),
  karma = require("karma"),
  merge = require("merge-stream"),
  cleanCSS = require("gulp-clean-css"),
  nunjucksGulp = require("./util/nunjucks-gulp"),
  rename = require("gulp-rename"),
  source = require("vinyl-source-stream"),
  uglify = require("gulp-uglify");

var srcDir = "src/";

var config = {
  appFile: "app.js",
  buildDir: "build/",
  distDir: "dist/",
  srcDir: srcDir
};

// Build all the things!
gulp.task("build", ["build:copy", "build:css", "build:html", "build:js"]);

// Clean build directory
gulp.task("build:clean", function() {
  return del(["build/*", "dist/*"]);
});

// Copy files that don't require any build process
gulp.task("build:copy", function() {
  gulp.src(["src/images/*"]).
    pipe(gulp.dest("build/images"));
  return gulp.src(["src/static/*"]).
    pipe(gulp.dest("build/static"));
});

// Build CSS
gulp.task("build:css", function() {
  return gulp.src("src/css/entries/*.css").
    pipe(cleanCSS({
      keepSpecialComments: 0,
      relativeTo: "",
      root: "",
    })).
    pipe(gulp.dest("build/css"));
});

// Build extension!
gulp.task("build:dist", ["build:dist:copy", "build:dist:js"]);

gulp.task("build:dist:copy", ["build"], function() {
  return gulp.src(["build/**/*"]).
    pipe(gulp.dest("dist"));
});<commit_msg>Fix CSS relative pathing<commit_after>var babelify = require("babelify"),
  browserify = require("browserify"),
  cleanhtml = require("gulp-cleanhtml"),
  concat = require("gulp-concat"),
  del = require("del"),
  eslint = require("gulp-eslint"),
  globby = require("globby"),
  gulp = require("gulp"),
  gutil = require("gulp-util"),
  karma = require("karma"),
  merge = require("merge-stream"),
  cleanCSS = require("gulp-clean-css"),
  nunjucksGulp = require("./util/nunjucks-gulp"),
  rename = require("gulp-rename"),
  source = require("vinyl-source-stream"),
  uglify = require("gulp-uglify");

var srcDir = "src/";

var config = {
  appFile: "app.js",
  buildDir: "build/",
  distDir: "dist/",
  srcDir: srcDir
};

// Build all the things!
gulp.task("build", ["build:copy", "build:css", "build:html", "build:js"]);

// Clean build directory
gulp.task("build:clean", function() {
  return del(["build/*", "dist/*"]);
});

// Copy files that don't require any build process
gulp.task("build:copy", function() {
  gulp.src(["src/images/*"]).
    pipe(gulp.dest("build/images"));
  return gulp.src(["src/static/*"]).
    pipe(gulp.dest("build/static"));
});

// Build CSS
gulp.task("build:css", function() {
  return gulp.src("src/css/entries/*.css").
    pipe(cleanCSS({
      keepSpecialComments: 0,
      relativeTo: "./",
      root: "",
    })).
    pipe(gulp.dest("build/css"));
});

// Build extension!
gulp.task("build:dist", ["build:dist:copy", "build:dist:js"]);

gulp.task("build:dist:copy", ["build"], function() {
  return gulp.src(["build/**/*"]).
    pipe(gulp.dest("dist"));
});
{'fraction_non_alphanumeric': 0.2274583726044612, 'fraction_numerical': 0.0006283380458686773, 'mean_word_length': 4.306666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1006083', 'n_tokens_mistral': 1144, 'n_tokens_neox': 1135, 'n_words': 205}