Custom directory configuration #124
luylucas10
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It's not an issue, it's a hint.
I like to use the default wwwroot directory for src and dist code, so I've created src folder under wwwroot, splitted in scss, js, img. For second, I like to read all file at once in the config, instead to set a array of input in the rolloup config. That way, my
vite.config.js
is that:In
appsettings
:and last
app.UseViteDevelopmentServer(app.Environment.IsDevelopment());
That way, we have custom vite config working with default asp.net directory.
Beta Was this translation helpful? Give feedback.
All reactions