gam0022 / resimulated

1st place at Revision 2020 (PC 64K Intro)
MIT License
18 stars 1 forks source link

three.js の Vector3 を利用すると、どのくらい容量が増えるかの検証 #49

Closed gam0022 closed 4 years ago

gam0022 commented 4 years ago

容量が 141 KB くらい増えたので、NG

C:\Users\gam0022\Dropbox\TDF2020\chromatic-win (three-js-vector3 -> origin)
λ npm run build

> webpack-tdf2020@1.0.0 build C:\Users\gam0022\Dropbox\TDF2020\chromatic-win
> node node_modules/clean-css-cli/bin/cleancss -o dist/style.prod.min.css src/style.prod.css && webpack --config webpack.prod.js && ruby pnginator.rb ./dist/bundle.js ./dist/out.png.html

Hash: 92d1d688eacb2750ab7c
Version: webpack 4.41.2
Time: 5946ms
Built at: 2020-03-08 17:54:27
    Asset     Size  Chunks                    Chunk Names
bundle.js  611 KiB       0  [emitted]  [big]  main
Entrypoint main [big] = bundle.js
 [0] ./dist/style.prod.min.css 189 bytes {0} [built]
 [1] ./src/shaders/vertex.glsl 134 bytes {0} [built]
 [2] ./src/shaders/common-header.glsl 835 bytes {0} [built]
 [3] ./src/shaders/raymarching-mandelbox.glsl 11.8 KiB {0} [built]
 [4] ./src/shaders/tone-mapping.glsl 570 bytes {0} [built]
 [5] ./src/shaders/bloom-prefilter.glsl 858 bytes {0} [built]
 [6] ./src/shaders/bloom-downsample.glsl 225 bytes {0} [built]
 [7] ./src/shaders/bloom-upsample.glsl 357 bytes {0} [built]
 [8] ./src/shaders/bloom-final.glsl 476 bytes {0} [built]
 [9] ./src/shaders/sound-template.glsl 3.31 KiB {0} [built]
[10] ./src/index.prod.ts + 3 modules 1.14 MiB {0} [built]
     | ./src/index.prod.ts 1.82 KiB [built]
     | ./src/chromatic.ts 17 KiB [built]
     | ./src/easing.ts 224 bytes [built]
     |     + 1 hidden module

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
  bundle.js (611 KiB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  main (611 KiB)
      bundle.js

WARNING in webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/
pnginator.rb:78: warning: assigned but unused variable - crc