introduce VITE_HOST env var and pass it to the node watcher vite --host
This commit is contained in:
@@ -83,9 +83,6 @@ export default defineConfig(({ command }) => {
|
||||
return {
|
||||
plugins,
|
||||
build,
|
||||
server: {
|
||||
host: isDev ? "0.0.0.0" : "localhost",
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": path.resolve(__dirname, "./src"),
|
||||
|
||||
Reference in New Issue
Block a user