vatts 1.1.4-alpha.1 → 1.1.4-alpha.3

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.
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const jsx_runtime_1 = require("react/jsx-runtime");
4
4
  const Image = ({ src, width, height, quality = 75, priority = false, className, style, alt = "", ...props }) => {
5
+ console.log("Imagem: ", src);
5
6
  // Se a imagem for Base64 (pequena) ou externa (http), não otimizamos via backend local
6
7
  const isOptimizable = src && !src.startsWith('data:') && !src.startsWith('http');
7
8
  let optimizedSrc = src;
package/dist/renderer.js CHANGED
@@ -234,8 +234,6 @@ async function renderAsStream({ req, res, route, params, allRoutes }) {
234
234
  const { generateMetadata } = route;
235
235
  const isProduction = !req.hwebDev;
236
236
  const hotReloadManager = req.hotReloadManager;
237
- // SILENCIAR CONSOLE: Inicia o silêncio para evitar logs de renderização
238
- silenceConsole();
239
237
  try {
240
238
  // 1. Verificar Build - Se não tiver scripts, retorna tela de Loading
241
239
  const assets = getBuildAssets(req);
@@ -264,7 +262,6 @@ async function renderAsStream({ req, res, route, params, allRoutes }) {
264
262
  // Usamos console.error original aqui, pois erro de layout é crítico
265
263
  restoreConsole();
266
264
  console.error("Error loading layout component for SSR:", e);
267
- silenceConsole(); // Volta a silenciar
268
265
  }
269
266
  }
270
267
  // 3. Preparar Metadata
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vatts",
3
- "version": "1.1.4-alpha.1",
3
+ "version": "1.1.4-alpha.3",
4
4
  "description": "Vatts.js is a high-level framework for building web applications with ease and speed. It provides a robust set of tools and features to streamline development and enhance productivity.",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "itsmuzin",