As with the existing refine.bio, we want to generate the backend cache in the project folder on pre-build which can be used by several components (e.g., about, footer).
Problem or idea
Implement a pre-build script to synchronously generate the backend cache in JSON format and write them out to a file (currently named as apiData.js) in the project folder.
Context
Related issue: #208
As with the existing refine.bio, we want to generate the backend cache in the project folder on pre-build which can be used by several components (e.g., about, footer).
Problem or idea
Implement a pre-build script to synchronously generate the backend cache in JSON format and write them out to a file (currently named as
apiData.js
) in the project folder.Solution or next step