<commit_before>"use strict";
/**
 * __template__gist__: https://gist.github.com/tomchentw/368a93bb748ad9d576f1#file-webpack-config-js
 */
var Path = require("path"),
    webpack = require("webpack"),
    React = require("react"),
    ExtractTextPlugin = require("extract-text-webpack-plugin"),
    IsomorphicReactPluginFactory = require("./IsomorphicReactPluginFactory"),
    isomorphicReactPlugin,
    outputPath = Path.resolve(__dirname, "../../public"),
    clientConfig,
    serverConfig,
    webpackConfigsArray,

    IS_PRODUCTION = "production" === process.env.NODE_ENV,
    IS_DEVELOPMENT = !IS_PRODUCTION,
    BABEL_LOADER = "babel-loader?stage=1",
    STYLE_LOADER = "style-loader",
    CSS_LOADER = "css-loader?root=../",
    SASS_LOADER = CSS_LOADER + "!sass-loader";

isomorphicReactPlugin = new IsomorphicReactPluginFactory({
  serverComponentPath: "tmp/server.js",
  serverMarkupPath: "tmp/html.js",
  htmlOutputFilename: "index.html",
});

clientConfig = {
  entry: {
    "assets/client": "./scripts/client.js",
  },
  output: {
    path: outputPath,
    filename: "[name].js",
  },
  resolve: {
    alias: {
      "react": Path.resolve(__dirname, "./node_modules/react"),
      "react-google-maps": Path.resolve(__dirname, "../../src"),
    },
  },
  resolveLoader: {
    root: Path.resolve(__dirname, "./node_modules")
  },
  module: {
    loaders: [
      {
        test: /\.js(x?)$/,
        exclude: /node_modules/,
        loaders: [BABEL_LOADER],
      },
      { test: /\.jpg$/, loader: "file-loader" },
      { test: /\.scss$/, loader: ExtractTextPlugin.extract(STYLE_LOADER, SASS_LOADER) },
    ],
  },
  plugins: [
    new webpack.ProvidePlugin({
      $: "jquery",
      jQuery: "jquery",
    }),
    new ExtractTextPlugin("[name].css", {
      disable: IS_DEVELOPMENT,
    }),<commit_msg>chore(examples): remove webpack.ProvidePlugin for jquery<commit_after>"use strict";
/**
 * __template__gist__: https://gist.github.com/tomchentw/368a93bb748ad9d576f1#file-webpack-config-js
 */
var Path = require("path"),
    webpack = require("webpack"),
    React = require("react"),
    ExtractTextPlugin = require("extract-text-webpack-plugin"),
    IsomorphicReactPluginFactory = require("./IsomorphicReactPluginFactory"),
    isomorphicReactPlugin,
    outputPath = Path.resolve(__dirname, "../../public"),
    clientConfig,
    serverConfig,
    webpackConfigsArray,

    IS_PRODUCTION = "production" === process.env.NODE_ENV,
    IS_DEVELOPMENT = !IS_PRODUCTION,
    BABEL_LOADER = "babel-loader?stage=1",
    STYLE_LOADER = "style-loader",
    CSS_LOADER = "css-loader?root=../",
    SASS_LOADER = CSS_LOADER + "!sass-loader";

isomorphicReactPlugin = new IsomorphicReactPluginFactory({
  serverComponentPath: "tmp/server.js",
  serverMarkupPath: "tmp/html.js",
  htmlOutputFilename: "index.html",
});

clientConfig = {
  entry: {
    "assets/client": "./scripts/client.js",
  },
  output: {
    path: outputPath,
    filename: "[name].js",
  },
  resolve: {
    alias: {
      "react": Path.resolve(__dirname, "./node_modules/react"),
      "react-google-maps": Path.resolve(__dirname, "../../src"),
    },
  },
  resolveLoader: {
    root: Path.resolve(__dirname, "./node_modules")
  },
  module: {
    loaders: [
      {
        test: /\.js(x?)$/,
        exclude: /node_modules/,
        loaders: [BABEL_LOADER],
      },
      { test: /\.jpg$/, loader: "file-loader" },
      { test: /\.scss$/, loader: ExtractTextPlugin.extract(STYLE_LOADER, SASS_LOADER) },
    ],
  },
  plugins: [
    new ExtractTextPlugin("[name].css", {
      disable: IS_DEVELOPMENT,
    }),
{'fraction_non_alphanumeric': 0.17000556483027268, 'fraction_numerical': 0.0077907623817473565, 'mean_word_length': 3.2494089834515365, 'pattern_counts': {'":': 6, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2473393', 'n_tokens_mistral': 1235, 'n_tokens_neox': 1205, 'n_words': 185}