{"size": 1538, "ext": "js", "max_stars_repo_path": "client/webpack.config.dev.js", "max_stars_repo_name": "ivor06/lookforshow", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "client/webpack.config.dev.js", "max_issues_repo_name": "ivor06/lookforshow", "max_issues_repo_issues_event_min_datetime": "2020-05-18T15:45:33.000Z", "max_issues_repo_issues_event_max_datetime": "2020-05-18T15:45:33.000Z", "max_forks_repo_path": "client/webpack.config.dev.js", "max_forks_repo_name": "ivor06/WebRTCHub", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 33.4347826087, "max_line_length": 117, "alphanum_fraction": 0.4869960988}
const webpack = require("webpack");
const path = require("path");

module.exports = {
    devtool: "cheap-module-eval-source-map",
    entry: [
        "./src/main.tsx"
    ],
    target: "web",
    resolve: {
        extensions: ['.ts', '.tsx', '.json', '.js', '.jsx', ".css"],
        modules: [
            "node_modules",
            path.resolve(__dirname, "node_modules"),
            path.resolve(__dirname, "src")
        ]
    },
    output: {
        path: __dirname + "/build",
        publicPath: "/",
        filename: "bundle.js"
    },
    devServer: {
        contentBase: "./src"
    },
    plugins: [
        new webpack.NoErrorsPlugin()
    ],
    module: {
        loaders: [
            {test: /\w{2,}\.tsx?$/, exclude: /\.d\.ts$/, loader: 'awesome-typescript-loader'},
            {test: /\.css$/, use: ["style-loader", "css-loader"]},
            {test: /\.scss$/, use: ["style-loader", "css-loader", "sass-loader"]},
            {test: /\.eot(\?v=\d+\.\d+\.\d+)?$/, loader: "file-loader"},
            {test: /\.(woff|woff2)$/, loader: "url-loader?prefix=font/&limit=5000"},
            {test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/, loader: "url-loader?limit=10000&mimetype=application/octet-stream"},
            {test: /\.svg(\?v=\d+\.\d+\.\d+)?$/, loader: "url-loader?limit=10000&mimetype=image/svg+xml"},
            {test: /\.(png|jpg|jpeg)$/, loader: "url-loader?limit=20000"},
        ]
    },
    externals: {
        "react": "React",
        "react-dom": "ReactDOM",
        "react-router": "ReactRouter"
    }
};