Skip to content

Commit

Permalink
feat: impl load project config
Browse files Browse the repository at this point in the history
  • Loading branch information
yarastqt committed Apr 21, 2020
1 parent 5943472 commit ac5b72f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/core/project-config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { join } from 'path'
import { readJsonSync } from 'fs-extra'

type Config = {
platforms: {}
}

export async function getProjectConfig(source: string, configName: string): Promise<Config> {
return readJsonSync(join(source, configName))
}

0 comments on commit ac5b72f

Please sign in to comment.