Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 749 Bytes

File metadata and controls

35 lines (25 loc) · 749 Bytes

@sdeverywhere/plugin-config

Example

Example sde.config.js file:

import { configProcessor } from '@sdeverywhere/plugin-config'

export async function config() {
  return {
    // Specify the Vensim model to read
    modelFiles: ['example.mdl'],

    // Read csv files from `config` directory and write to the recommended output
    // directory structure.  See `ConfigProcessorOptions` for more details.
    modelSpec: configProcessor({
      config: 'config'
    }),

    plugins: [
      // ...
    ]
  }
}

Initialization

Options