<commit_before>ExtractTextPlugin = require 'extract-text-webpack-plugin'

isProduction = process.env.NODE_ENV is 'production'
LOADERS = if isProduction then [] else ["react-hot", "webpack-module-hot-accept"]
lessLoader = if isProduction
  { test: /\.less$/,   loader: ExtractTextPlugin.extract('css!less') }
else
  { test: /\.less$/,   loaders: LOADERS.concat('style-loader', 'css-loader', 'less-loader') }

module.exports =
  cache: true

  devtool: if isProduction then undefined else 'source-map'

  entry:
    tutor: [
      './index.coffee',
      './resources/styles/tutor.less'
    ]
    qa: [
      './qa.coffee',
      './resources/styles/qa.less'
    ]

  output:
    path: if isProduction then 'dist' else '/'
    filename: '[name].js'
    publicPath: if isProduction then '' else 'http://localhost:8000/dist/'

  plugins: [ new ExtractTextPlugin('tutor.css') ]

  module:
    noParse: [
      /\/sinon\.js/
    ]
    loaders: [
      lessLoader
      { test: /\.json$/,   loader: "json-loader" }
      { test: /\.coffee$/, loaders: LOADERS.concat("coffee-loader") }<commit_msg>Remove qa styles since they were empty<commit_after>ExtractTextPlugin = require 'extract-text-webpack-plugin'
webpack = require 'webpack'

isProduction = process.env.NODE_ENV is 'production'
LOADERS = if isProduction then [] else ["react-hot", "webpack-module-hot-accept"]
lessLoader = if isProduction
  { test: /\.less$/,   loader: ExtractTextPlugin.extract('css!less') }
else
  { test: /\.less$/,   loaders: LOADERS.concat('style-loader', 'css-loader', 'less-loader') }

module.exports =
  cache: true

  devtool: if isProduction then undefined else 'source-map'

  entry:
    tutor: [
      './index.coffee',
      './resources/styles/tutor.less'
    ]
    qa: [
      './src/qa.coffee',
    ]

  output:
    path: if isProduction then 'dist' else '/'
    filename: '[name].js'
    publicPath: if isProduction then '' else 'http://localhost:8000/dist/'

  plugins: [ new ExtractTextPlugin('tutor.css') ]

  module:
    noParse: [
      /\/sinon\.js/
    ]
    loaders: [
      lessLoader
      { test: /\.json$/,   loader: "json-loader" }
      { test: /\.coffee$/, loaders: LOADERS.concat("coffee-loader") }
{'fraction_non_alphanumeric': 0.1640909090909091, 'fraction_numerical': 0.0036363636363636364, 'mean_word_length': 2.916370106761566, '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': '3180740', 'n_tokens_mistral': 776, 'n_tokens_neox': 728, 'n_words': 160}