Closed EmperorArthur closed 1 year ago
ViteOptions and ViteServerOptions have all properties configured as { get; init; }.
{ get; init; }
This causes the following extremely common pattern to not compile!
builder.Services.Configure<ViteOptions>(options => { options.PackageDirectory = "myClientApp"; });
Hi. You're right. I'll change it with the next release.
Hi, the vite options records were reconfigured as { get; set; }. The changes are available with v1.10.1
{ get; set; }
ViteOptions and ViteServerOptions have all properties configured as
{ get; init; }
.This causes the following extremely common pattern to not compile!