<commit_before>var webpack = require("webpack");
var I18nPlugin = require("./i18nPlugin");
var ClientAppsPlugin = require("./clientAppPlugin");
var CompiledReferencePlugin = require("./CompiledReferencePlugin");
var bundleEntries = require("./bundles");
var ShimmedAmdPlugin = require("./shimmedAmdPlugin");
var BundleExtensionsPlugin = require("./BundleExtensionsPlugin");
var path = require('path');

module.exports = {
  devtool: 'eval',
  entry: bundleEntries,
  output: {
    path: __dirname + '/../public/webpack-dist',
    filename: "[name].bundle.js",
    chunkFilename: "[id].bundle.js",
    publicPath: "/webpack-dist/"
  },
  resolveLoader: {
    modulesDirectories: ['node_modules','frontend_build']
  },
  resolve: {
    alias: {
      qtip: "jquery.qtip",
      realTinymce: "bower/tinymce/tinymce",
      'ic-ajax': "bower/ic-ajax/dist/amd/main",
      'ic-tabs': "bower/ic-tabs/dist/amd/main",
      'bower/axios/dist/axios': 'bower/axios/dist/axios.amd'
    },
    root: [
      __dirname + "/../public/javascripts",
      __dirname + "/../app",
      __dirname + "/../app/views",
      __dirname + "/../client_apps",
      __dirname + "/../gems/plugins",
      __dirname + "/../public/javascripts/vendor",
      __dirname + "/../client_apps/canvas_quizzes/vendor/js",
      __dirname + "/../client_apps/canvas_quizzes/vendor/packages"
    ],
    extensions: [
      "",
      ".webpack.js",
      ".web.js",
      ".js",
      ".jsx",
      ".coffee",
      ".handlebars",
      ".hbs"
    ]
  },
  module: {
    preLoaders: [],
    loaders: [
      {
        test: /\.js$/,
        include: path.resolve(__dirname, "../public/javascripts"),
        loaders: [
          "jsHandlebarsHelpers",
          "pluginsJstLoader",
          "nonAmdLoader"
        ]
      },
      {
        test: /\.jsx$/,
        include: [
          path.resolve(__dirname, "../app/jsx"),
          /app\/client_apps\/canvas_quizzes\/apps\//
        ],
        exclude: [/(node_modules|bower)/, /public\/javascripts\/vendor/, /public\/javascripts\/translations/],
        loaders: [
          'babel?cacheDirectory=tmp',
          'jsxYankPragma'
        ]
      },<commit_msg>fix client_app reference in web pack build<commit_after>var webpack = require("webpack");
var I18nPlugin = require("./i18nPlugin");
var ClientAppsPlugin = require("./clientAppPlugin");
var CompiledReferencePlugin = require("./CompiledReferencePlugin");
var bundleEntries = require("./bundles");
var ShimmedAmdPlugin = require("./shimmedAmdPlugin");
var BundleExtensionsPlugin = require("./BundleExtensionsPlugin");
var path = require('path');

module.exports = {
  devtool: 'eval',
  entry: bundleEntries,
  output: {
    path: __dirname + '/../public/webpack-dist',
    filename: "[name].bundle.js",
    chunkFilename: "[id].bundle.js",
    publicPath: "/webpack-dist/"
  },
  resolveLoader: {
    modulesDirectories: ['node_modules','frontend_build']
  },
  resolve: {
    alias: {
      qtip: "jquery.qtip",
      realTinymce: "bower/tinymce/tinymce",
      'ic-ajax': "bower/ic-ajax/dist/amd/main",
      'ic-tabs': "bower/ic-tabs/dist/amd/main",
      'bower/axios/dist/axios': 'bower/axios/dist/axios.amd'
    },
    root: [
      __dirname + "/../public/javascripts",
      __dirname + "/../app",
      __dirname + "/../app/views",
      __dirname + "/../client_apps",
      __dirname + "/../gems/plugins",
      __dirname + "/../public/javascripts/vendor",
      __dirname + "/../client_apps/canvas_quizzes/vendor/js",
      __dirname + "/../client_apps/canvas_quizzes/vendor/packages"
    ],
    extensions: [
      "",
      ".webpack.js",
      ".web.js",
      ".js",
      ".jsx",
      ".coffee",
      ".handlebars",
      ".hbs"
    ]
  },
  module: {
    preLoaders: [],
    loaders: [
      {
        test: /\.js$/,
        include: path.resolve(__dirname, "../public/javascripts"),
        loaders: [
          "jsHandlebarsHelpers",
          "pluginsJstLoader",
          "nonAmdLoader"
        ]
      },
      {
        test: /\.jsx$/,
        include: [
          path.resolve(__dirname, "../app/jsx"),
          /client_apps\/canvas_quizzes\/apps\//
        ],
        exclude: [/(node_modules|bower)/, /public\/javascripts\/vendor/, /public\/javascripts\/translations/],
        loaders: [
          'babel?cacheDirectory=tmp',
          'jsxYankPragma'
        ]
      },
{'fraction_non_alphanumeric': 0.18161024702653247, 'fraction_numerical': 0.0018298261665141812, 'mean_word_length': 2.2954031650339113, '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': '5431708', 'n_tokens_mistral': 1431, 'n_tokens_neox': 1412, 'n_words': 214}