-
Notifications
You must be signed in to change notification settings - Fork 1
Possibility for a more broken-out build driven by external configuration? #5
Description
The current build configuration is excellent for producing a very high-performance app with minimal load-time dependencies, but it would be quite helpful for our integration purposes building scrollytelling apps such as https://imerss.github.io/howe-sound-mapping/R-Markdown-AHSBR_Map_1-Reknitted.html# if @imerss/inat-components included in its npm dist a partially built distribution that accepted an external configuration file such as the one at https://github.com/IMERSS/inat-components/blob/main/apps/standalone/src/inat.config.json rather than this being baked into the bundle.
In the end we are aiming for an authoring pipeline that can be driven directly by editing R markdown files and scripts like the ones at https://github.com/IMERSS/howe-sound-mapping/blob/main/scripts/Vascular_plant_map_script.R and whilst we could build the react-scripts process into this pipeline it would be helpful and more performant if we could pull in a "ready to go" configuration-driven distribution of the components - ideally this would also expose configuration of some of the strings seen in the root component definition at https://github.com/IMERSS/inat-components/blob/main/apps/standalone/src/index.tsx#L27
Cheers for any suggestions on the best route for this!