Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 674 Bytes

File metadata and controls

21 lines (14 loc) · 674 Bytes

@sdeverywhere/plugin-config / configProcessor

Function: 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 config directory
  • writes JS files to the configured output directories
  • returns a ModelSpec that guides the rest of the sde build process

Parameters

Parameter Type
options ConfigProcessorOptions

Returns

(buildContext) => Promise<ModelSpec>