const path = require("path"); const HtmlWebpackPlugin = require("html-webpack-plugin"); module.exports = { mode: "production", entry: "./src/index.jsx", devtool: 'eval-source-map', module: { rules: [ { test: /\.(js|jsx)$/, exclude: /node_modules/, loader: "babel-loader", }, ], }, performance: { hints: false, maxEntrypointSize: 512000, maxAssetSize: 512000, }, };