OmniBytes / pi-hub

Smart Display for Raspberry Pi
https://hub.omnibytes.io
MIT License
3 stars 0 forks source link

41 feat use preact #47

Closed funkstyr closed 9 months ago

funkstyr commented 9 months ago

closes #41

vercel[bot] commented 9 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
pi-hub ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 17, 2024 0:33am
funkstyr commented 9 months ago

Looks like this is broken in the preview. Just going to leave the stats of the builds here:

nextjs

> dotenv -e ../../.env -- "next" "build"

   ▲ Next.js 14.1.0

   Creating an optimized production build ...
> [PWA] Compile server
> [PWA] Compile server
> [PWA] Compile client (static)
> [PWA] Auto register service worker with: /home/funkstyr/dev/omni/hub/node_modules/next-pwa/register.js
> [PWA] Service worker: /home/funkstyr/dev/omni/hub/apps/hub/public/sw.js
> [PWA]   url: /sw.js
> [PWA]   scope: /
 ✓ Compiled successfully
   Skipping validation of types
   Skipping linting
 ⚠ Using edge runtime on a page currently disables static generation for that page
 ✓ Collecting page data
 ✓ Generating static pages (4/4)
 ✓ Collecting build traces
 ✓ Finalizing page optimization

Route (app)                              Size     First Load JS
┌ ○ /                                    6.24 kB         124 kB
├ ○ /_not-found                          881 B          85.1 kB
├ ℇ /api/auth/[...nextauth]              0 B                0 B
├ ℇ /api/trpc/[trpc]                     0 B                0 B
└ ℇ /t3                                  24.4 kB         143 kB
+ First Load JS shared by all            84.2 kB
  ├ chunks/1dd3208c-5fb2f7c5c2d1e5c1.js  53.4 kB
  ├ chunks/592-4db2c2a0c3b64850.js       28.9 kB
  └ other shared chunks (total)          1.9 kB

○  (Static)        prerendered as static content
ℇ  (Edge Runtime)  server-rendered on demand using the Edge Runtime

preact

> dotenv -e ../../.env -- "next" "build"

   ▲ Next.js 14.1.0

   Creating an optimized production build ...
> [PWA] Compile server
> [PWA] Compile server
> [PWA] Compile client (static)
> [PWA] Auto register service worker with: /home/funkstyr/dev/omni/hub/node_modules/next-pwa/register.js
> [PWA] Service worker: /home/funkstyr/dev/omni/hub/apps/hub/public/sw.js
> [PWA]   url: /sw.js
> [PWA]   scope: /
 ⚠ Compiled with warnings

./src/app/t3/_components/posts.tsx
Attempted import error: 'use' is not exported from 'react' (imported as 'use').

Import trace for requested module:
./src/app/t3/_components/posts.tsx

   Skipping validation of types
   Skipping linting
 ⚠ Using edge runtime on a page currently disables static generation for that page
 ✓ Collecting page data
 ✓ Generating static pages (4/4)
 ✓ Collecting build traces
 ✓ Finalizing page optimization

Route (app)                         Size     First Load JS
┌ ○ /                               6.24 kB        75.5 kB
├ ○ /_not-found                     878 B          36.2 kB
├ ℇ /api/auth/[...nextauth]         0 B                0 B
├ ℇ /api/trpc/[trpc]                0 B                0 B
└ ℇ /t3                             31.3 kB         101 kB
+ First Load JS shared by all       35.3 kB
  ├ chunks/214-6f9d2de1c44c6502.js  33.4 kB
  └ other shared chunks (total)     1.89 kB

○  (Static)        prerendered as static content
ℇ  (Edge Runtime)  server-rendered on demand using the Edge Runtime