create-react-app-typescript icon indicating copy to clipboard operation
create-react-app-typescript copied to clipboard

Question: Can I remove the hash from the output files

Open SebastianStehle opened this issue 7 years ago • 1 comments

Hi,

I have to include my react app in a rails application. Can I remove the hash from the generated output files?

SebastianStehle avatar Oct 17 '18 11:10 SebastianStehle

You can but you shouldn't. Whoever is using your application will suffer from having old versions of your application and if you use code-splitting your filepaths will be broken. If you need the paths just parse them from the manifest.json

There's various ways to do it but I don't see a valid use case for it;

graphtheory avatar Oct 18 '18 12:10 graphtheory