mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-18 22:01:42 +08:00
feat: extract platforms
This commit is contained in:

committed by
Nathan Walker

parent
0f14fc9d47
commit
54dd20e90a
@ -15,9 +15,9 @@ import {
|
||||
getEntryPath,
|
||||
getEntryDirPath,
|
||||
getPackageJson,
|
||||
getPlatform,
|
||||
getProjectRootPath,
|
||||
} from './project';
|
||||
import { getPlatform, getPlatformName, addPlatform } from '../platforms';
|
||||
|
||||
// intentionally populated manually
|
||||
// as this generates nicer typings
|
||||
@ -50,7 +50,11 @@ export default {
|
||||
getEntryPath,
|
||||
getEntryDirPath,
|
||||
getDistPath,
|
||||
getPlatform,
|
||||
getPackageJson,
|
||||
},
|
||||
platform: {
|
||||
getPlatform,
|
||||
getPlatformName,
|
||||
addPlatform,
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user