0

When running npm run build, the deliverables are created under build/static/js, build/static/css and build/static/media.

How can I adjust these locations? I found no reference to it in documentation/Google.

Tar
  • 8,529
  • 9
  • 56
  • 127
  • Does this answer your question? [Use custom build output folder when using create-react-app](https://stackoverflow.com/questions/41495658/use-custom-build-output-folder-when-using-create-react-app) – Prabhat Mishra Jan 15 '20 at 15:21
  • @PrabhatMishra - sadly, yes. – Tar Jan 15 '20 at 15:27
  • great than i have this for you https://dev.to/nodewarrior/override-cra-and-add-webpack-config-without-ejecting-2f3n – Prabhat Mishra Jan 15 '20 at 15:30
  • use `output` property in webpack.config.js to output your files to your preferred location. – Prabhat Mishra Jan 15 '20 at 15:33
  • 1
    @PrabhatMishra, I'm not sure how to do that... I assume you mean that I do that in `config-overrides.js`, right? what do I need to write in there? – Tar Jan 15 '20 at 16:19

0 Answers0