I want to synchronize the folder for my SPA frontend build using create-react-app. The normal structure is, that there is a static folder, containing all other artifacts in different subfolders, e.g. js or css. The js and css files are named with hashes generated during build, to prevent from having caching problems in browsers.
So it looks something like this:
Code: Select all
frontend
- static
- js
- 2.26039a5f.chunk.js
- main.1b7a1cea.chunk.js
- css
- 3.4b3ccb6c.chunk.css
What am I doing wrong here?