@helloleo/vite-config 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/start.js +1 -6
- package/package.json +1 -1
package/dist/start.js
CHANGED
|
@@ -228,12 +228,7 @@ function defineConfig(options = {}) {
|
|
|
228
228
|
});
|
|
229
229
|
} else {
|
|
230
230
|
config = mergeConfig(config, {
|
|
231
|
-
server: { host:
|
|
232
|
-
...isDev ? {
|
|
233
|
-
server: {
|
|
234
|
-
watch: { awaitWriteFinish: { stabilityThreshold: 1000, pollInterval: 100 } }
|
|
235
|
-
}
|
|
236
|
-
} : {}
|
|
231
|
+
server: { host: true, port: 5173, allowedHosts: true }
|
|
237
232
|
});
|
|
238
233
|
}
|
|
239
234
|
return config;
|