<commit_before>/* Thanks to <NAME>
https://medium.freecodecamp.com/webpack-for-the-fast-and-the-furious-bf8d3746adbd#.4ijclp4kt */

var webpack = require("webpack"),
    path = require("path"),
    config = require("src/config.js");

var lib_dir = __dirname + "/src/static/libs",
    node_dir = __dirname + "/node_modules";

var config = {
    resolve: {
        alias: {
            bootstrap: node_dir + "/bootstrap/dist/js/bootstrap.min.js",
            jquery: node_dir + "/jquery/dist/jquery.min.js",
            jqueryCookie: node_dir + "/jquery.cookie/jquery.cookie.js",
            mediaElement: node_dir + "/mediaelement/build/mediaelement-and-player.min.js",
            mejsPlaybackRate: lib_dir + "/vendors/mejs_playbackrate_plugin.js",
            tether: node_dir + "/tether/dist/js/tether.min.js",
            truncate: node_dir + "/truncate.js/dist/truncate.min.js",
            typeahead: node_dir + "/typeahead.js/dist/typeahead.bundle.min.js"
        }
    },

    entry: {
        'home/index': [__dirname + '/src/static/libs/js/views/home/index.js'],
        'login/redirect': [__dirname + '/src/static/libs/js/views/login/redirect.js'],
        'my-playlists/index': [__dirname + '/src/static/libs/js/views/my-playlists/index.js'],
        'my-podcasts/index': [__dirname + '/src/static/libs/js/views/my-podcasts/index.js'],
        'player-page/index': [__dirname + '/src/static/libs/js/views/player-page/index.js'],
        'podcast/index': [__dirname + '/src/static/libs/js/views/podcast/index.js'],
        vendors: ["babel-polyfill",
                  "bootstrap",
                  "jquery",
                  "jqueryCookie",
                  "mediaElement",<commit_msg>Remove unnecessary node_dir in webpack.config<commit_after>/* Thanks to <NAME>
https://medium.freecodecamp.com/webpack-for-the-fast-and-the-furious-bf8d3746adbd#.4ijclp4kt */

var webpack = require("webpack"),
    path = require("path"),
    config = require("src/config.js");

var lib_dir = __dirname + "/src/static/libs";

var config = {
    resolve: {
        alias: {
            bootstrap: "bootstrap/dist/js/bootstrap.min.js",
            jquery: "jquery/dist/jquery.min.js",
            jqueryCookie: "jquery.cookie/jquery.cookie.js",
            mediaElement: "mediaelement/build/mediaelement-and-player.min.js",
            mejsPlaybackRate: lib_dir + "/vendors/mejs_playbackrate_plugin.js",
            tether: "tether/dist/js/tether.min.js",
            truncate: "truncate.js/dist/truncate.min.js",
            typeahead: "typeahead.js/dist/typeahead.bundle.min.js"
        }
    },

    entry: {
        'home/index': [__dirname + '/src/static/libs/js/views/home/index.js'],
        'login/redirect': [__dirname + '/src/static/libs/js/views/login/redirect.js'],
        'my-playlists/index': [__dirname + '/src/static/libs/js/views/my-playlists/index.js'],
        'my-podcasts/index': [__dirname + '/src/static/libs/js/views/my-podcasts/index.js'],
        'player-page/index': [__dirname + '/src/static/libs/js/views/player-page/index.js'],
        'podcast/index': [__dirname + '/src/static/libs/js/views/podcast/index.js'],
        vendors: ["babel-polyfill",
                  "bootstrap",
                  "jquery",
                  "jqueryCookie",
                  "mediaElement",
{'fraction_non_alphanumeric': 0.16686856450635978, 'fraction_numerical': 0.004239854633555421, 'mean_word_length': 2.42279792746114, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6155272', 'n_tokens_mistral': 1118, 'n_tokens_neox': 1069, 'n_words': 137}