mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 12:57:42 +08:00
Updated the BCL readme file.
This commit is contained in:
12
Readme.md
12
Readme.md
@ -2,6 +2,16 @@
|
||||
|
||||
The BCL solution relies on a custom build task used to filter and rename the compiled javascript files by platform.
|
||||
E.g. the file `application.android.js`, containing the actual platform-specific implementation will become `application.js`.
|
||||
There is also the .impl suffix for files where we have definition and implementation file with the same name, e.g.:
|
||||
|
||||
file-system.d.ts
|
||||
file-system.impl.ts
|
||||
|
||||
This is done to force the typescript compiler in Visual Studio to feed its definitions from the *.d.ts file rather than the implementation one.
|
||||
The build task removes this private suffix and the final output is
|
||||
|
||||
files-system.js
|
||||
|
||||
The BCL itself uses a pre-built copy of the task, residing in the `Build/lib` folder.
|
||||
|
||||
### BuildTasks solution
|
||||
@ -14,7 +24,7 @@ The output of this project is located at (../bin/)
|
||||
|
||||
### Build the BCL project
|
||||
|
||||
There are four different configurations of the project:
|
||||
There are six different configurations of the project:
|
||||
|
||||
1. Android <br/>
|
||||
This configuration will create a `bin/Android` folder and output all the Android-related files there.
|
||||
|
Reference in New Issue
Block a user