<commit_before>'use strict';

// Vulcanize imports
module.exports = function (gulp, plugins, config) { return function () {
  return gulp.src('dist/elements/elements.vulcanized.html')
    .pipe(plugins.vulcanize({
      dest: 'dist/elements',
      strip: true
    }))
    .pipe(gulp.dest('dist/elements'))
    // Revving file
    .pipe(plugins.rev())
    .pipe(gulp.dest('dist/elements'))
    .pipe(plugins.size({title: 'vulcanize'}))
    // Write rev-manifest.json to .tmp
    .pipe(plugins.revAll.manifest())
    .pipe(gulp.dest('.tmp'));
};};
<commit_msg>Fix vulcanize - add csp and inline option<commit_after>'use strict';

// Vulcanize imports
module.exports = function (gulp, plugins, config) { return function () {
  return gulp.src('dist/elements/elements.vulcanized.html')
    .pipe(plugins.vulcanize({
      dest: 'dist/elements',
      csp: true,    // Extract inline <script> blocks into a separate file.
      inline: true, // Inline all scripts and stylesheets.
      strip: true   // Strip comments and empty text nodes from output.
    }))
    .pipe(gulp.dest('dist/elements'))
    // Revving file
    .pipe(plugins.rev())
    .pipe(gulp.dest('dist/elements'))
    .pipe(plugins.size({title: 'vulcanize'}))
    // Write rev-manifest.json to .tmp
    .pipe(plugins.revAll.manifest())
    .pipe(gulp.dest('.tmp'));
};};

{'fraction_non_alphanumeric': 0.16779026217228465, 'fraction_numerical': 0.0, 'mean_word_length': 3.161993769470405, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '1169107', 'n_tokens_mistral': 444, 'n_tokens_neox': 432, 'n_words': 93}