File tree Expand file tree Collapse file tree 2 files changed +13
-14
lines changed
Expand file tree Collapse file tree 2 files changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ To include TypeScript files in an RCL:
132132 * Include the TypeScript target as a dependency of the ` PrepareForBuildDependsOn ` target.
133133 * Remove the output in the ` wwwroot folder ` .
134134
135- [ !code-xml[ ] ( ~/razor-pages/ui-class/remove.xml?highlight=6-10,14 )]
135+ [ !code-xml[ ] ( ~/razor-pages/ui-class/remove.xml?highlight=5-9,13 )]
136136
137137### Consume content from a referenced RCL
138138
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Razor" >
2- <Project Sdk =" Microsoft.NET.Sdk.Razor" >
32
4- <PropertyGroup >
5- // Markup removed for brevity.
6- <TypescriptOutDir >wwwroot</TypescriptOutDir >
7- <PrepareForBuildDependsOn >
8- CompileTypeScriptWithTSConfig;
9- GetTypeScriptOutputForPublishing;$(PrepareForBuildDependsOn)
10- </PrepareForBuildDependsOn >
11- </PropertyGroup >
3+ <PropertyGroup >
4+ // Markup removed for brevity.
5+ <TypescriptOutDir >wwwroot</TypescriptOutDir >
6+ <PrepareForBuildDependsOn >
7+ CompileTypeScriptWithTSConfig;
8+ GetTypeScriptOutputForPublishing;$(PrepareForBuildDependsOn)
9+ </PrepareForBuildDependsOn >
10+ </PropertyGroup >
1211
13- <ItemGroup >
14- <Content Remove =" wwwroot\{path-to-typescript-outputs}" />
15- </ItemGroup >
12+ <ItemGroup >
13+ <Content Remove =" wwwroot\{path-to-typescript-outputs}" />
14+ </ItemGroup >
1615
17- </Project >
16+ </Project >
You can’t perform that action at this time.
0 commit comments