I do not know whether it is intentional or not.
If you want to include JavaScript files in your project, you need to manually edit the project file. Open it in Notepad (or in your favorite text editor) and follow these steps:
<Content Include="Scripts\yourfile.ts" />
- Change to
<Content Include="Scripts\yourfile.js"> <DependentUpon>yourfile.ts</DependentUpon> </Content>
The JavaScript file should now be drawn in.
You need you to use Visual Studio to publish your project for deployment.
source share