1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/packages/next/build
Luc ba95f7541c Improve assets size (#5999)
It looks like :

```
Pages sizes after gzip:

┌ / (196 B)
├ /_app (11.5 kB)
├ /_error (4.44 kB)
├ /blog (196 B)
└ /blog/page (195 B)
```

(style inspired from now-cli : https://github.com/zeit/now-cli/blob/canary/src/util/output/builds.js)

I'll add dynamic chunks in a separate PR.

@timneutkens Do you want to keep `_app` and `_error` or filter them out ? I think it's a good idea to keep them, because `_app` can get pretty large and it would encourage code splitting in that case.
2019-01-06 16:42:09 +01:00
..
babel Add tsc type checking (#5826) 2018-12-05 21:45:50 +01:00
webpack Improve assets size (#5999) 2019-01-06 16:42:09 +01:00
compiler.ts Run compilers sequentially when in lambdas mode (#5862) 2018-12-11 21:46:23 +01:00
generate-build-id.ts Convert babel plugins to typescript (#5789) 2018-12-02 18:30:00 +01:00
index.ts Serverless Next.js (#5927) 2018-12-28 11:39:12 +01:00
is-writeable.ts Add Typescript types for builds functions (#5791) 2018-12-03 14:18:52 +01:00
webpack-config.js Improve assets size (#5999) 2019-01-06 16:42:09 +01:00
write-build-id.ts Add Typescript types for builds functions (#5791) 2018-12-03 14:18:52 +01:00