{"size": 1214, "ext": "js", "max_stars_repo_path": "webpack.config.min.js", "max_stars_repo_name": "saarthdeshpande/serverless-cloud-storage", "max_stars_repo_stars_event_min_datetime": "2021-07-02T19:03:03.000Z", "max_stars_repo_stars_event_max_datetime": "2021-09-10T17:24:50.000Z", "max_issues_repo_path": "webpack.config.min.js", "max_issues_repo_name": "saarthdeshpande/serverless-cloud-storage", "max_issues_repo_issues_event_min_datetime": "2021-07-03T16:54:42.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-30T06:31:00.000Z", "max_forks_repo_path": "webpack.config.min.js", "max_forks_repo_name": "saarthdeshpande/serverless-cloud-storage", "max_forks_repo_forks_event_min_datetime": "2021-07-05T22:36:32.000Z", "max_forks_repo_forks_event_max_datetime": "2021-07-10T20:04:59.000Z"}
{"max_stars_count": 11, "max_issues_count": 15, "max_forks_count": 2, "avg_line_length": 1214.0, "max_line_length": 1214, "alphanum_fraction": 0.7537067545}
const path=require("path");const HtmlWebpackPlugin=require("html-webpack-plugin");const webpack=require("webpack");const UglifyJsPlugin=require("uglifyjs-webpack-plugin");const dotenv=require("dotenv").config({path:__dirname+".env"});module.exports={entry:path.resolve(__dirname,"src","index.js"),plugins:[new HtmlWebpackPlugin({template:"public/index.html",filename:"index.html"}),new webpack.HotModuleReplacementPlugin,new webpack.ProvidePlugin({React:"react"}),new webpack.DefinePlugin({"process.env":JSON.stringify(dotenv.parsed)}),new UglifyJsPlugin],mode:"production",optimization:{usedExports:true,removeAvailableModules:false,removeEmptyChunks:false,splitChunks:false,minimize:true},performance:{hints:false},devtool:false,output:{filename:"bundle.js",path:path.resolve(__dirname,"dist")},module:{rules:[{test:/\.(jsx|js)$/,exclude:/node_modules/,use:[{loader:"babel-loader",options:{presets:[["@babel/preset-env",{targets:"defaults"}],"@babel/preset-react"]}}]},{test:/\.css$/,use:["style-loader","css-loader"]},{test:/\.(woff|woff2|eot|ttf|otf)$/,use:["file-loader?publicPath=/&name=font/[name].[ext]"]},{test:/\.(png|svg|jpe?g|gif)$/,use:["file-loader?publicPath=/&name=static/images/[name].[ext]"]}]}};