{"size": 522, "ext": "js", "max_stars_repo_path": "webpack.dll.js", "max_stars_repo_name": "NumerHero/kuolun", "max_stars_repo_stars_event_min_datetime": "2016-10-11T14:11:52.000Z", "max_stars_repo_stars_event_max_datetime": "2018-12-13T01:51:51.000Z", "max_issues_repo_path": "webpack.dll.js", "max_issues_repo_name": "bilibiliou/kuolun", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "webpack.dll.js", "max_forks_repo_name": "bilibiliou/kuolun", "max_forks_repo_forks_event_min_datetime": "2016-10-19T13:31:14.000Z", "max_forks_repo_forks_event_max_datetime": "2017-12-29T05:22:15.000Z"}
{"max_stars_count": 29, "max_issues_count": null, "max_forks_count": 7, "avg_line_length": 19.3333333333, "max_line_length": 43, "alphanum_fraction": 0.4942528736}
const path = require('path');
const {join, resolve} = path;
const webpack = require('webpack');
const vendors = [
    'react',
    'react-dom',
    'react-redux',
    'redux'
]

module.exports = {
    output: {
        path: resolve(__dirname, './dist'),
        filename: '[name].js',
        library: '[name]'
    },
    entry: {
        vendor: vendors
    },
    plugins: [
        new webpack.DllPlugin({
            path: 'manifest.json',
            name: '[name]',
            context: __dirname
        })
    ]
}