Open firegodjr opened 7 months ago
If the base path behavior is intentional, it would be nice to have a separate "DevBase" and "WebrootBase", rather than using a single value for both.
Hi, do you want to compile your assets to wwwroot/views
, right?
I see the same behavior on my end. Base
value is taken from appsettings.json
and affects dev server.
Luckily this can be overcomed by specifing outDir
for build
in vite.config.js
and then in csproj
specify correct <DistFiles Include="<path-to-build-output>" />
Describe the bug Setting "Base" option affects dev server file paths, not only resulting webroot files as described in the readme
To Reproduce
Expected behavior Base path only affects files in the webroot after build
Screenshots
Device (please complete the following information):
Additional context N/A