I am trying to change the build path for react-app-rewired
in the file config-overrides.json
as mentioned here.
module.exports = {
paths: function (paths, env) {
paths.appBuild = 'C:\\Projects\\jhipster\\src\\main\\webapp\\app';
return paths;
}
};
But it is not taken into consideration, and I receive the following error:
Could not find a required file.
Name: index.html
Searched in: C:\Projects\jhipster\public
I have hardcoded the path directly just to test if it's working.
Am I omitting something?