When running the project using react-app-rewired start, everything functions correctly. However, during the build process, it becomes stuck at the 'Creating an optimized production build...' message. This issue persists even when creating a new Create React App (CRA) project.
/* config-overrides.js */
const MonacoWebpackPlugin = require("monaco-editor-webpack-plugin");
module.exports = function override(config, env) {
config.plugins.push(new MonacoWebpackPlugin());
return config;
};
Version of "react-app-rewired": "^2.2.1"
Version of "react-scripts": "^5.0.1"
When running the project using
react-app-rewired start, everything functions correctly. However, during the build process, it becomes stuck at the 'Creating an optimized production build...' message. This issue persists even when creating a new Create React App (CRA) project.Version of
"react-app-rewired": "^2.2.1"Version of
"react-scripts": "^5.0.1"