<commit_before>namespace :webpack_rails do
  require 'rake/clean'
  CLOBBER.include("public/webpack/*")

  desc "Precompile assets using Webpack."
  task :precompile do
    mkdir_p "public/webpack"
    sh "webpack --config webpack.precompile.js"
  end

  task :dev_server do
    sh %q[./node_modules/.bin/webpack-dev-server --port $(rails runner "puts WebpackRails.config.dev_server_port")]
  end
end<commit_msg>fix(rake) Use relative path for all webpack calls.<commit_after>namespace :webpack_rails do
  require 'rake/clean'
  CLOBBER.include("public/webpack/*")

  desc "Precompile assets using Webpack."
  task :precompile do
    mkdir_p "public/webpack"
    sh "./node_modules/.bin/webpack --config webpack.precompile.js"
  end

  task :dev_server do
    sh %q[./node_modules/.bin/webpack-dev-server --port $(rails runner "puts WebpackRails.config.dev_server_port")]
  end
end
{'fraction_non_alphanumeric': 0.11804767309875142, 'fraction_numerical': 0.0, 'mean_word_length': 4.011363636363637, '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': '4313309', 'n_tokens_mistral': 296, 'n_tokens_neox': 283, 'n_words': 72}