Skip to content

Commit

Permalink
Fix remote build for Webpack bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
b-straub committed Apr 26, 2024
1 parent 7ff8a42 commit 1afeb97
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 23,001 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,8 @@ DexieNETCloudSample/wwwroot/importfile.json
DexieNET/yarn/node_modules
DexieNET/yarn/yarn.lock
.DS_Store
.idea
DexieCloudNET/yarn/node_modules
DexieCloudNET/yarn/src/**/*.js
DexieCloudNET/wwwroot/
DexieCloudNET/yarn/src/DexieNET
11 changes: 11 additions & 0 deletions DexieCloudNET/DexieCloudNET.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,17 @@
<Delete Files="wwwroot\js\*.*" />
</Target>

<Target Name="CopyDexieNETFiles" BeforeTargets="BeforeBuild">
<ItemGroup>
<TSFiles Include="..\DexieNET\yarn\src\*.ts"/>
</ItemGroup>

<Copy
SourceFiles="@(TSFiles)"
DestinationFolder="yarn\src\DexieNET"
/>
</Target>

<Target Name="YarnInstall" BeforeTargets="BeforeBuild" Inputs="yarn/package.json" Outputs="$(YarnInstallStampFile)">
<Exec Command="yarn install" WorkingDirectory="yarn" />
<Touch Files="$(NpmInstallStampFile)" AlwaysCreate="true" />
Expand Down
Loading

0 comments on commit 1afeb97

Please sign in to comment.