<commit_before>var gulp = require('gulp');
var ts = require('gulp-typescript');
var sourcemaps = require('gulp-sourcemaps');
var cache = require('gulp-cache');
var imagemin = require('gulp-imagemin');
var less = require('gulp-less');
var preprocess = require('gulp-preprocess');
var merge = require('merge-stream');

var tsOptions = {
    target: "es5",
    module: "none",
    noImplicitAny: true,
    removeComments: false,
    preserveConstEnums: true,
    strictNullChecks: true,
};

gulp.task('scripts', function() {
    return gulp.src('src/**/*.ts')
        .pipe(sourcemaps.init())
        .pipe(ts(tsOptions))
        .pipe(sourcemaps.write('maps', { includeContent:  false,  sourceRoot: "file:///" + __dirname + '/src' }))
        .pipe(gulp.dest('build/chrome'))
        .pipe(gulp.dest('build/edge'));
});

gulp.task('styles', function() {
    return gulp.src('src/**/*.less')
        .pipe(sourcemaps.init())
        .pipe(less())
        .pipe(sourcemaps.write('maps', { includeContent:  false,  sourceRoot: "file:///" + __dirname + '/src' }))
        .pipe(gulp.dest('build/edge'))
        .pipe(gulp.dest('build/chrome'));<commit_msg>Changing source map generation<commit_after>var gulp = require('gulp');
var ts = require('gulp-typescript');
var sourcemaps = require('gulp-sourcemaps');
var cache = require('gulp-cache');
var imagemin = require('gulp-imagemin');
var less = require('gulp-less');
var preprocess = require('gulp-preprocess');
var merge = require('merge-stream');

var tsOptions = {
    target: "es5",
    module: "none",
    noImplicitAny: true,
    removeComments: false,
    preserveConstEnums: true,
    strictNullChecks: true,
};

gulp.task('scripts', function() {
    return gulp.src('src/**/*.ts')
        .pipe(sourcemaps.init())
        .pipe(ts(tsOptions))
        .pipe(sourcemaps.write('maps'))
        .pipe(gulp.dest('build/chrome'))
        .pipe(gulp.dest('build/edge'));
});

gulp.task('styles', function() {
    return gulp.src('src/**/*.less')
        .pipe(sourcemaps.init())
        .pipe(less())
        .pipe(sourcemaps.write('maps'))
        .pipe(gulp.dest('build/edge'))
        .pipe(gulp.dest('build/chrome'));
{'fraction_non_alphanumeric': 0.1954817888427847, 'fraction_numerical': 0.0009220839096357768, 'mean_word_length': 3.5020746887966805, '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': '2229175', 'n_tokens_mistral': 721, 'n_tokens_neox': 714, 'n_words': 126}