Mastering Development

Running webpack build issue while trying to create a React application using babel, webpack

I am working on a new project set up for react using webpack and babel. Following is the webpack.config.js file Folder structure: node_modules/ src/ – api/ – components/ – index.jsx – stats.html webpack.config.js babel.config.js const path = require(‘path’); const MiniCssExtractPlugin = require(‘mini-css-extract-plugin’); const { BundleAnalyzerPlugin } = require(‘webpack-bundle-analyzer’); const { ContextReplacementPlugin, HashedModuleIdsPlugin } = require(‘webpack’); […]