wafuwafu13 / blitz-tutorial

blitzお試し会場
0 stars 0 forks source link

`biltz build` の差分をとる #1

Open wafuwafu13 opened 3 years ago

wafuwafu13 commented 3 years ago

https://blitzjs.com/docs/getting-started

blitz new myAppName
cd myAppName
blitz start
View your baby app at http://localhost:3000

から

https://blitzjs.com/docs/cli-build

blitz build

の差分

wafuwafu13 commented 3 years ago
$ blitz build
You are using beta software - if you have any problems, please open an issue here:
      https://github.com/blitz-js/blitz/issues/new/choose

✔ Compiled
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Loaded env from /Users/tagawahirotaka/Desktop/blitz-tutorial/.blitz/caches/build/.env
warn  - You have enabled experimental feature(s).
warn  - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use them at your own risk.

info  - Using external babel configuration from /Users/tagawahirotaka/Desktop/blitz-tutorial/.blitz/caches/build/babel.config.js
info  - Creating an optimized production build
info  - Compiled successfully
info  - Collecting page data
info  - Generating static pages (4/4)
info  - Finalizing page optimization

Page                                                           Size     First Load JS
┌ ○ /                                                          2.94 kB         135 kB
├   /_app                                                      0 B             132 kB
├ ○ /404                                                       332 B           133 kB
├ λ /api/auth/mutations/login                                  0 B             132 kB
├ λ /api/auth/mutations/logout                                 0 B             132 kB
├ λ /api/auth/mutations/signup                                 0 B             132 kB
├ λ /api/users/queries/getCurrentUser                          0 B             132 kB
├ ○ /login                                                     1.14 kB         133 kB
└ ○ /signup                                                    1.06 kB         133 kB
+ First Load JS shared by all                                  132 kB
  ├ chunks/025d993ffb707cb2ecdbca0e3694e23204337195.37f9fd.js  18.6 kB
  ├ chunks/cff9fd05d2ae0244327d25505dd7f15d06b1bfc1.b70999.js  44.4 kB
  ├ chunks/commons.bce78a.js                                   15.5 kB
  ├ chunks/framework.49b15c.js                                 45.1 kB
  ├ chunks/main.4c8f17.js                                      6 kB
  ├ chunks/pages/_app.7d3d02.js                                2.01 kB
  └ chunks/webpack.245f04.js                                   751 B

λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
○  (Static)  automatically
●  (SSG)     automatically generated as static HTML + JSON (uses getStaticProps)
   (ISR)     incremental static regeneration (uses revalidate in getStaticProps)
wafuwafu13 commented 3 years ago

.nextファイルが生成される https://github.com/wafuwafu13/blitz-tutorial/commit/bdcbc6355f578fe97d0923d3ee07eea443822b82