{"size": 658, "ext": "js", "max_stars_repo_path": "packages/example/webpack.build.js", "max_stars_repo_name": "pechischev/react-mvp", "max_stars_repo_stars_event_min_datetime": "2020-03-09T21:24:52.000Z", "max_stars_repo_stars_event_max_datetime": "2020-03-09T21:24:52.000Z", "max_issues_repo_path": "packages/example/webpack.build.js", "max_issues_repo_name": "pechischev/react-mvp", "max_issues_repo_issues_event_min_datetime": "2021-10-06T04:44:45.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-26T18:06:28.000Z", "max_forks_repo_path": "packages/example/webpack.build.js", "max_forks_repo_name": "pechischev/react-mvp", "max_forks_repo_forks_event_min_datetime": "2020-03-24T13:19:04.000Z", "max_forks_repo_forks_event_max_datetime": "2020-03-24T13:19:04.000Z"}
{"max_stars_count": 1, "max_issues_count": 4, "max_forks_count": 1, "avg_line_length": 28.6086956522, "max_line_length": 78, "alphanum_fraction": 0.5243161094}
const path = require("path");
const PeerDepsExternalsPlugin = require("peer-deps-externals-webpack-plugin");
const common = require("../../config/webpack.config");

module.exports = (params, argv) => {
    return {
        entry: {
            module: "./src/module.ts",
        },
        output: {
            path: path.resolve(__dirname, "build"),
            filename: "module.js",
            library: "Example",
            libraryTarget: "umd",
        },
        ...common({
            sourceModule: "./src",
            sourcePath: path.resolve(__dirname, "./src"),
            plugins: [new PeerDepsExternalsPlugin()]
        }, argv),
    };
};
