@mantiq/vite 0.5.6 → 0.5.8

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": "@mantiq/vite",
3
- "version": "0.5.6",
3
+ "version": "0.5.8",
4
4
  "description": "Vite dev server & manifest integration",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -40,7 +40,9 @@ export class ViteServiceProvider extends ServiceProvider {
40
40
  const basePath = config.get('app.basePath')
41
41
  if (basePath) vite.setBasePath(basePath)
42
42
  } catch {
43
- // Config may not be available in all contexts
43
+ if (process.env.APP_DEBUG === 'true') {
44
+ console.warn('[Mantiq] ViteServiceProvider: ConfigRepository not available, basePath not set')
45
+ }
44
46
  }
45
47
 
46
48
  await vite.initialize()
@@ -51,7 +53,9 @@ export class ViteServiceProvider extends ServiceProvider {
51
53
  kernel.registerMiddleware('static', ServeStaticFiles)
52
54
  kernel.prependGlobalMiddleware('static')
53
55
  } catch {
54
- // HttpKernel may not be available in CLI context
56
+ if (process.env.APP_DEBUG === 'true') {
57
+ console.warn('[Mantiq] ViteServiceProvider: HttpKernel not available, static middleware not registered')
58
+ }
55
59
  }
56
60
  }
57
61
  }