@ecomiq/storefront 2.0.15 → 2.0.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ecomiq/storefront",
3
- "version": "2.0.15",
3
+ "version": "2.0.16",
4
4
  "description": "Micro framework SSR de Ecomiq para storefronts. Páginas, datos y deploy sin configurar nada.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -223,6 +223,10 @@ export function createViteConfig({ appDir, config, projectRoot, runtime }) {
223
223
  },
224
224
  },
225
225
  server: {
226
+ // `true` → escucha en 0.0.0.0 y muestra Network URL (IP local), no solo localhost.
227
+ // Override: `dev.host: false | 'localhost' | string` en ecomiq.config.
228
+ host: config?.dev?.host ?? true,
229
+ allowedHosts: config?.dev?.host ?? true,
226
230
  fs: { allow },
227
231
  ...(resolvedHttps.https ? { https: resolvedHttps.https } : {}),
228
232
  },