@sdeverywhere/plugin-config / configProcessor
configProcessor(
options): (buildContext) =>Promise<ModelSpec>
Returns a function that can be passed as the modelSpec function for the SDEverywhere
UserConfig. The returned function:
- reads CSV files from a
configdirectory - writes JS files to the configured output directories
- returns a
ModelSpecthat guides the rest of thesdebuild process
| Parameter | Type |
|---|---|
options |
ConfigProcessorOptions |
(buildContext) => Promise<ModelSpec>