I have a react application that users react-app-rewired build
command. The application needs a file from one of the node package removed. Is there something I can put in the config-overrides.js
that will facilitate this?
Asked
Active
Viewed 135 times
0

user2517182
- 1,241
- 3
- 15
- 37
-
1Why not just running a script beforehand under `scripts` in `package.json` – Dennis Vash Apr 06 '20 at 17:19
-
was thinking about that, but I am not entirely sure what `build` command actually does. If it runs npm install then any script I run before hand to remove the file will just get overwritten. I will and see if that does the trick. thanks. – user2517182 Apr 06 '20 at 17:38
-
Thanks @DennisVash, it worked. – user2517182 Apr 06 '20 at 19:09