Closed byyuurin closed 11 months ago
I noticed that vite-ssg build provides the --base option, but I found that it doesn't work as expected when I tried to use it.
--base
Here are the tests I conducted after fixing this issue:
base
ssgOptions.base
--mode
NODE_ENV
Can you help resolve the conflicts? Thanks
Ok, updated.
Nice work, @byyuurin! thank you @antfu 🙏🏽
Description
I noticed that vite-ssg build provides the
--base
option, but I found that it doesn't work as expected when I tried to use it.Here are the tests I conducted after fixing this issue:
base
in vite.config.ts and perform a build to confirm the result.ssgOptions.base
in vite.config.ts and perform a build to confirm the result.--base
to vite-ssg build command and perform a build to confirm the result.--mode
to vite-ssg build command and perform a build to confirm the result.--mode
and--base
to vite-ssg build command and perform a build to confirm the result.NODE_ENV
and--mode
to vite-ssg build command and perform a build to confirm the result.Linked Issues
339 #340 #341