{"size": 806, "ext": "js", "max_stars_repo_path": "webpack.config.js", "max_stars_repo_name": "Vnthf/pretty-json", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "webpack.config.js", "max_issues_repo_name": "Vnthf/pretty-json", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "webpack.config.js", "max_forks_repo_name": "Vnthf/pretty-json", "max_forks_repo_forks_event_min_datetime": "2016-06-12T21:31:48.000Z", "max_forks_repo_forks_event_max_datetime": "2020-04-24T03:32:59.000Z"}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": 2, "avg_line_length": 23.0285714286, "max_line_length": 53, "alphanum_fraction": 0.452853598}
const path = require('path');

module.exports = {
    entry: './src/index.js',
    context: __dirname,
    output: {
        filename: 'pretty-json.js',
        publicPath: '/dist/',
        libraryTarget: "umd",
        library: "pretty-json-string",
        path: path.resolve(__dirname, 'dist')
    },
    module: {
        rules: [{
            test: /\.js$/,
            exclude: /node_modules|bower_components/,
            loader: 'babel-loader',
            options: {
                cacheDirectory: true,
                babelrc: false,
                presets: [
                    'env'
                ]
            }
        }]
    },
    devtool: "source-map",
    devServer: {
        historyApiFallback: true,
        noInfo: true
    },
    externals: {
        jquery: 'jQuery'
    }
};