Skip to content

Commit

Permalink
feat: declare project platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
yarastqt committed Apr 21, 2020
1 parent ac5b72f commit af24c07
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/core/platforms.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/**
* Platform layers with levels.
*/
export const platforms = new Map<string, string[]>()

platforms.set('common', ['common'])
platforms.set('deskpad', ['common', 'deskpad'])
platforms.set('desktop', ['common', 'deskpad', 'desktop'])
platforms.set('touch', ['common', 'touch'])
platforms.set('touch-pad', ['common', 'deskpad', 'touch', 'touch-pad'])
platforms.set('touch-phone', ['common', 'touch', 'touch-phone'])

0 comments on commit af24c07

Please sign in to comment.