You will need Node.js. Setting up Node.js in Windows.
This project uses NPM scripts. We only need to run npm run build
which will automatically run prebuild
and install everything we need.
To create a watcher we can either run npm run watch
.
<Target Name="BeforeBuild">
<ItemGroup>
<Content Include="wwwroot\dist\**\*.*" />
</ItemGroup>
</Target>
Path to assets can be changed in package.json
currently points to wwwroot
.