Skip to main content
0 votes
0 answers
19 views

I'm doing mono repo setup for my existing react apps using yarn workspaces and CRA, but build code not converted to ES5 to support chrome 38

It seems after build my react app works well in chrome 38 version. But, after moving to mono repo structure, same code not working in chrome 38 after build and looks like some part for code I see not ...
Radhakrishnan Y's user avatar
0 votes
0 answers
298 views

Use office-addin-dev-certs with react-scripts

We have been developing an office add-in with ReactJS. I have always been using sudo PORT=8000 HTTPS=true SSL_CRT_FILE=localhost.crt SSL_KEY_FILE=localhost.key ./node_modules/.bin/react-scripts start (...
SoftTimur's user avatar
  • 5,610
1 vote
0 answers
232 views

Upgarding react-scripts from v4 to v5 gives strange error Module build failed (from ../node_modules/babel-loader/lib/index.js)

I am using CRA and when upgrading react-scripts from v4.0.3 to v5.0.1 I get this strange error Module build failed (from ../node_modules/babel-loader/lib/index.js): TypeError: SOME_FILE_IN_THE_PROJECT....
ka222jm's user avatar
  • 71
-2 votes
1 answer
1k views

How To use External JS/Jquery in React Jsx component's

Hope You are doing great and in good health. I'm a beginner in React.js and doing my FYP project, I come to a problem where I'm not able to insert external JS or Jquery code inside the react, I have ...
Hamza Bin Khurshid's user avatar
2 votes
1 answer
546 views

Standard way to add custom react-scripts in create-react-app

I have a project created from create-react-app and is in typescript, I want to add suport for custom react-scripts without eject so what would be the best way to do it.
Khizar Ali's user avatar
0 votes
0 answers
86 views

How does one pipe stdout to a parent process' stdout?

I'm not sure if this is specific to npm scripts, or to visual studio code, or to shell scripting in general so please bear with me. The setup is like this. I have a react project running through ...
Beard Tony's user avatar
3 votes
2 answers
988 views

Fork and install Create React App without publishing on NPM

I would like to fork Facebook's Create React Repo and use it as a dependency instead of their own react-scripts. All tutorials on the subject publish the forked repo to NPM to install via the normal ...
sidonaldson's user avatar
  • 25.3k
0 votes
1 answer
684 views

Build with custom-react-scripts library causes memory leaks

I have a project which works with custom-react-scripts and I faced with memory leaks during development. The application is developed using React, Mobx, Mobx-State-Tree and uses decorators with babel. ...
Vlad Morzhanov's user avatar
0 votes
1 answer
522 views

CSS Modules don't return class

I would like to install css modules into create-react-app and I came across this https://github.com/kitze/custom-react-scripts. After setting things up, I created a test style.module.css file in my ...
claireckc's user avatar
  • 455
0 votes
2 answers
622 views

Decorators don't work with custom-react-scripts

I read this article: https://medium.com/@kitze/configure-create-react-app-without-ejecting-d8450e96196a I followed its instruction and here is my code: https://github.com/franva/custom-react-scripts ...
Franva's user avatar
  • 7,077