I'm, trying to make CRA's start
script to emit files on changes instead of keeping them in memory.
I'm working to implement Google Chrome Extension so I need files to be flushed to the file system so that Chrome could pick them up. And building each change is not as convenient as an automatic compilation.
I've tried to use react-app-rewired
to override a bunch of props in webpack config, including mode
, watch
, and to see 'output.path' but no luck so far.
Or CRA's 'start' script will never emit underlying because the loaders are not tuned to do that?
Appreciate your help!
question from:https://stackoverflow.com/questions/65941637/making-webpack-and-cra-emit-files-in-watch-mode