Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [craco]

Craco stands for Create React App Configuration Overrides - an easy and comprehensible configuration layer for create-react-app.

0 votes
0 answers
19 views

How Can I Fix Missing WebP Images in Production Build with CRACO Configuration?

I'm working on a React project using Craco to manage Webpack configurations. My goal is to use WebP images for better performance, falling back to PNGs if WebP is not supported. I've already converted ...
Pierre F's user avatar
0 votes
0 answers
27 views

React compiler, how to setup with craco/webpack

I migration in 18 to 19 react today. Read documentation, installed packages babel-plugin-react-compiler , for eslint eslint-plugin-react-compiler. I'm not that good at setting up webpack, but from the ...
Mr. Emil's user avatar
0 votes
0 answers
15 views

Cannot find module 'remoteApp/App' in CRACO MFE App

I am trying to make a micro frontend react app. First I generate two apps with create-react-app. Then override the configurations using CRACO to work as host and remote app. When I tried to access the ...
NiroshanJ's user avatar
  • 578
0 votes
0 answers
45 views

Cannot read properties of null (reading 'useContext') error in material tailwind with craco and react typescript

My project is created with react typescript and I have installed craco in my project. when I am using some components like Tabs and Accordion from @material/tailwind below error occures: Uncaught ...
N.SH's user avatar
  • 663
0 votes
0 answers
27 views

Switching from npm to Yarn Berry for a React App: Polyfill Issues

I'm new to React, npm, and Yarn. I'm trying to use Yarn Berry instead of npm for my React app. I've followed this step-by-step solution and ran yarn set version berry before running the yarn command. ...
S. Delsad's user avatar
0 votes
0 answers
19 views

workerize-loader npm package returns error [not cacheable] during runtime with webpack 5

I'm doing a major upgrade of all packages for my react application. This includes upgrading every package to its latest version. In order to make my upgrades work, I'm using webpack 5 with CRACO to ...
Sunny 99's user avatar
0 votes
0 answers
18 views

CRA + Craco + Swiper (and other libraries)

I’m developing React components that can be embedded on various websites. A potential issue is that the host site might have CSS rules with the same class selectors, which could disrupt the layout of ...
4lxndr's user avatar
  • 367
0 votes
1 answer
55 views

CRACO app issue when using 'babel-plugin-import': "Can't resolve '@mui/material/ThemeProvider' in 'app/src/Component'"

I'm trying to minimize my bundle size, specifically the "@mui/material" package. I'm using the guide they have: https://mui.com/material-ui/guides/minimizing-bundle-size/. However, after ...
MarksCode's user avatar
  • 8,444
0 votes
0 answers
84 views

Setting up Webpack Module Federation

For setting up Webpack Module Federation say for a React project, do we have any option apart from Ejecting the React App and overriding the Webpack configs (e.g. overrideWebpackConfig) OR Using ...
copenndthagen's user avatar
0 votes
0 answers
105 views

Existing jest tests are failing with upgrade to craco major version 7

What's happening Existing Jest tests are failing with below error after upgrade to craco v7. Error disappears when -- coverage --coverageDirectory=coverage/jest option is removed from test script ...
maddy's user avatar
  • 1
0 votes
0 answers
56 views

Isolating styles within Microfrontend app using StylesProvider

I have a Microfrontend app (using Module Federation) with 1 Host and a couple of child MFEs I am trying to isolate the styles between Host and also the child MFEs So in my Host App.js, I have the ...
copenndthagen's user avatar
0 votes
1 answer
158 views

React cannot find module, '@babel/plugin-proposal-private-property-in-object' (0:undefined) on Jenkins

Jenkins Error noted on the console.log terminal 13:29:56 Syntax error: [BABEL] /var/jenkins_home/workspace/govt-finance/qa/build-and-deploy-web/node-app/src/index.js: Cannot find module '@babel/...
Aaron Rory's user avatar
0 votes
1 answer
129 views

I Can See Source Code on Browser Even After I Uglify the Project

My problem is, I can see my source code in browser even after I use Terser Plugin with Webpack. The problem is, I use Terser Plugin for transforming my code into non human readable code chunks. After ...
Alihan Keskin's user avatar
0 votes
0 answers
98 views

Blur event doesn't occur well when I install million.js

My project is made with CRA(Create React App). I just watched a React lecture, and I installed million.js. https://million.dev/ But now, there's a serious problem with blur event handling. blur event ...
00 0's user avatar
  • 1
0 votes
0 answers
29 views

Progressive web app not installable not working using craco/typescript and create-react-app

I've a react app which is build using cra and craco/typescript version and i want to add PWA installable in this existing app. How can I do this there is currently no manifest.json, service-worker.js ...
VIPIN's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
15