-
Notifications
You must be signed in to change notification settings - Fork 27k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Experimental] CSS Module Support #9686
Conversation
Stats from current PRDefault Server Mode (Increase detected
|
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 13.9s | 14.1s | |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.3 kB | ✓ |
main-HASH.js gzip | 6.43 kB | 6.43 kB | ✓ |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.2 kB | ✓ |
main-HASH.module.js gzip | 5.36 kB | 5.36 kB | ✓ |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 189 kB | ✓ |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Rendered Page Sizes
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
index.html | 4.06 kB | 4.06 kB | ✓ |
index.html gzip | 1.04 kB | 1.04 kB | ✓ |
link.html | 4.11 kB | 4.11 kB | ✓ |
link.html gzip | 1.05 kB | 1.04 kB | -2 B |
withRouter.html | 4.12 kB | 4.12 kB | ✓ |
withRouter.html gzip | 1.03 kB | 1.03 kB | -1 B |
Overall change | 12.3 kB | 12.3 kB | ✓ |
Serverless Mode (Increase detected ⚠️ )
General Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 14.3s | 14.2s | -78ms |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.3 kB | ✓ |
main-HASH.js gzip | 6.43 kB | 6.43 kB | ✓ |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.2 kB | ✓ |
main-HASH.module.js gzip | 5.36 kB | 5.36 kB | ✓ |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 189 kB | ✓ |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Serverless bundles Overall decrease ✓
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_error.js | 281 kB | 280 kB | -346 B |
_error.js gzip | 74.8 kB | 74.8 kB | -26 B |
hooks.html | 4.19 kB | 4.19 kB | ✓ |
hooks.html gzip | 1.07 kB | 1.07 kB | ✓ |
index.js | 281 kB | 281 kB | -288 B |
index.js gzip | 75.1 kB | 75.1 kB | -28 B |
link.js | 289 kB | 288 kB | -298 B |
link.js gzip | 77.1 kB | 77.1 kB | -27 B |
routerDirect.js | 282 kB | 281 kB | -302 B |
routerDirect.js gzip | 75.2 kB | 75.1 kB | -25 B |
withRouter.js | 282 kB | 281 kB | -298 B |
withRouter.js gzip | 75.3 kB | 75.2 kB | -27 B |
Overall change | 1.42 MB | 1.42 MB | -1.53 kB |
Commit: 9ac50f2
Stats from current PRDefault Server Mode (Increase detected
|
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 13.4s | 13.7s | |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.3 kB | ✓ |
main-HASH.js gzip | 6.43 kB | 6.43 kB | ✓ |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.2 kB | ✓ |
main-HASH.module.js gzip | 5.36 kB | 5.36 kB | ✓ |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 189 kB | ✓ |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Rendered Page Sizes
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
index.html | 4.06 kB | 4.06 kB | ✓ |
index.html gzip | 1.04 kB | 1.04 kB | ✓ |
link.html | 4.11 kB | 4.11 kB | ✓ |
link.html gzip | 1.05 kB | 1.05 kB | ✓ |
withRouter.html | 4.12 kB | 4.12 kB | ✓ |
withRouter.html gzip | 1.03 kB | 1.03 kB | ✓ |
Overall change | 12.3 kB | 12.3 kB | ✓ |
Serverless Mode (Increase detected ⚠️ )
General Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 14.1s | 13.7s | -369ms |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.3 kB | ✓ |
main-HASH.js gzip | 6.43 kB | 6.43 kB | ✓ |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.2 kB | ✓ |
main-HASH.module.js gzip | 5.36 kB | 5.36 kB | ✓ |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 189 kB | ✓ |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Serverless bundles
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_error.js | 281 kB | 281 kB | ✓ |
_error.js gzip | 74.8 kB | 74.8 kB | ✓ |
hooks.html | 4.19 kB | 4.19 kB | ✓ |
hooks.html gzip | 1.07 kB | 1.07 kB | ✓ |
index.js | 281 kB | 281 kB | ✓ |
index.js gzip | 75.1 kB | 75.1 kB | ✓ |
link.js | 289 kB | 289 kB | ✓ |
link.js gzip | 77.1 kB | 77.1 kB | ✓ |
routerDirect.js | 282 kB | 282 kB | ✓ |
routerDirect.js gzip | 75.2 kB | 75.2 kB | ✓ |
withRouter.js | 282 kB | 282 kB | ✓ |
withRouter.js gzip | 75.3 kB | 75.3 kB | ✓ |
Overall change | 1.42 MB | 1.42 MB | ✓ |
Commit: d67e1e2
Stats from current PRDefault Server Mode (Increase detected
|
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 12s | 12s | -18ms |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.3 kB | ✓ |
main-HASH.js gzip | 6.43 kB | 6.43 kB | ✓ |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.2 kB | ✓ |
main-HASH.module.js gzip | 5.36 kB | 5.36 kB | ✓ |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 189 kB | ✓ |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Rendered Page Sizes
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
index.html | 4.06 kB | 4.06 kB | ✓ |
index.html gzip | 1.04 kB | 1.04 kB | ✓ |
link.html | 4.11 kB | 4.11 kB | ✓ |
link.html gzip | 1.05 kB | 1.05 kB | ✓ |
withRouter.html | 4.12 kB | 4.12 kB | ✓ |
withRouter.html gzip | 1.03 kB | 1.03 kB | ✓ |
Overall change | 12.3 kB | 12.3 kB | ✓ |
Serverless Mode (Increase detected ⚠️ )
General Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 12.6s | 12.4s | -221ms |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.3 kB | ✓ |
main-HASH.js gzip | 6.43 kB | 6.43 kB | ✓ |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.2 kB | ✓ |
main-HASH.module.js gzip | 5.36 kB | 5.36 kB | ✓ |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 189 kB | ✓ |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Serverless bundles
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_error.js | 281 kB | 281 kB | ✓ |
_error.js gzip | 74.8 kB | 74.8 kB | ✓ |
hooks.html | 4.19 kB | 4.19 kB | ✓ |
hooks.html gzip | 1.07 kB | 1.07 kB | ✓ |
index.js | 281 kB | 281 kB | ✓ |
index.js gzip | 75.1 kB | 75.1 kB | ✓ |
link.js | 289 kB | 289 kB | ✓ |
link.js gzip | 77.1 kB | 77.1 kB | ✓ |
routerDirect.js | 282 kB | 282 kB | ✓ |
routerDirect.js gzip | 75.2 kB | 75.2 kB | ✓ |
withRouter.js | 282 kB | 282 kB | ✓ |
withRouter.js gzip | 75.3 kB | 75.3 kB | ✓ |
Overall change | 1.42 MB | 1.42 MB | ✓ |
Commit: 88287ae
Stats from current PRDefault Server Mode (Increase detected
|
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 13.7s | 13.8s | |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.3 kB | ✓ |
main-HASH.js gzip | 6.43 kB | 6.43 kB | ✓ |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.2 kB | ✓ |
main-HASH.module.js gzip | 5.36 kB | 5.36 kB | ✓ |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 189 kB | ✓ |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Rendered Page Sizes
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
index.html | 4.06 kB | 4.06 kB | ✓ |
index.html gzip | 1.04 kB | 1.04 kB | ✓ |
link.html | 4.11 kB | 4.11 kB | ✓ |
link.html gzip | 1.05 kB | 1.05 kB | ✓ |
withRouter.html | 4.12 kB | 4.12 kB | ✓ |
withRouter.html gzip | 1.03 kB | 1.03 kB | ✓ |
Overall change | 12.3 kB | 12.3 kB | ✓ |
Serverless Mode (Increase detected ⚠️ )
General Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 14.1s | 14.1s | -19ms |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.3 kB | ✓ |
main-HASH.js gzip | 6.43 kB | 6.43 kB | ✓ |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.2 kB | ✓ |
main-HASH.module.js gzip | 5.36 kB | 5.36 kB | ✓ |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 189 kB | ✓ |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Serverless bundles
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_error.js | 281 kB | 281 kB | ✓ |
_error.js gzip | 74.8 kB | 74.8 kB | ✓ |
hooks.html | 4.19 kB | 4.19 kB | ✓ |
hooks.html gzip | 1.07 kB | 1.07 kB | ✓ |
index.js | 281 kB | 281 kB | ✓ |
index.js gzip | 75.1 kB | 75.1 kB | ✓ |
link.js | 289 kB | 289 kB | ✓ |
link.js gzip | 77.1 kB | 77.1 kB | ✓ |
routerDirect.js | 282 kB | 282 kB | ✓ |
routerDirect.js gzip | 75.2 kB | 75.2 kB | ✓ |
withRouter.js | 282 kB | 282 kB | ✓ |
withRouter.js gzip | 75.3 kB | 75.3 kB | ✓ |
Overall change | 1.42 MB | 1.42 MB | ✓ |
Commit: 1062041
Stats from current PRDefault Server Mode (Increase detected
|
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 11.7s | 11.6s | -84ms |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.3 kB | ✓ |
main-HASH.js gzip | 6.43 kB | 6.43 kB | ✓ |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.2 kB | ✓ |
main-HASH.module.js gzip | 5.36 kB | 5.36 kB | ✓ |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 189 kB | ✓ |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Rendered Page Sizes
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
index.html | 4.06 kB | 4.06 kB | ✓ |
index.html gzip | 1.04 kB | 1.04 kB | ✓ |
link.html | 4.11 kB | 4.11 kB | ✓ |
link.html gzip | 1.05 kB | 1.05 kB | ✓ |
withRouter.html | 4.12 kB | 4.12 kB | ✓ |
withRouter.html gzip | 1.03 kB | 1.03 kB | ✓ |
Overall change | 12.3 kB | 12.3 kB | ✓ |
Serverless Mode (Increase detected ⚠️ )
General Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 11.9s | 12.2s | |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.3 kB | ✓ |
main-HASH.js gzip | 6.43 kB | 6.43 kB | ✓ |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.2 kB | ✓ |
main-HASH.module.js gzip | 5.36 kB | 5.36 kB | ✓ |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 189 kB | ✓ |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Serverless bundles
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_error.js | 281 kB | 281 kB | ✓ |
_error.js gzip | 74.8 kB | 74.8 kB | ✓ |
hooks.html | 4.19 kB | 4.19 kB | ✓ |
hooks.html gzip | 1.07 kB | 1.07 kB | ✓ |
index.js | 281 kB | 281 kB | ✓ |
index.js gzip | 75.1 kB | 75.1 kB | ✓ |
link.js | 289 kB | 289 kB | ✓ |
link.js gzip | 77.1 kB | 77.1 kB | ✓ |
routerDirect.js | 282 kB | 282 kB | ✓ |
routerDirect.js gzip | 75.2 kB | 75.2 kB | ✓ |
withRouter.js | 282 kB | 282 kB | ✓ |
withRouter.js gzip | 75.3 kB | 75.3 kB | ✓ |
Overall change | 1.42 MB | 1.42 MB | ✓ |
Commit: 58654b0
Stats from current PRDefault Server Mode (Increase detected
|
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 12.2s | 11.2s | -1s |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.3 kB | ✓ |
main-HASH.js gzip | 6.43 kB | 6.43 kB | ✓ |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.2 kB | ✓ |
main-HASH.module.js gzip | 5.36 kB | 5.36 kB | ✓ |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 189 kB | ✓ |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Rendered Page Sizes
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
index.html | 4.06 kB | 4.06 kB | ✓ |
index.html gzip | 1.04 kB | 1.04 kB | ✓ |
link.html | 4.11 kB | 4.11 kB | ✓ |
link.html gzip | 1.05 kB | 1.05 kB | ✓ |
withRouter.html | 4.12 kB | 4.12 kB | ✓ |
withRouter.html gzip | 1.03 kB | 1.03 kB | ✓ |
Overall change | 12.3 kB | 12.3 kB | ✓ |
Serverless Mode (Increase detected ⚠️ )
General Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 10.6s | 10.3s | -348ms |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.3 kB | ✓ |
main-HASH.js gzip | 6.43 kB | 6.43 kB | ✓ |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.2 kB | ✓ |
main-HASH.module.js gzip | 5.36 kB | 5.36 kB | ✓ |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 189 kB | ✓ |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Serverless bundles
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_error.js | 281 kB | 281 kB | ✓ |
_error.js gzip | 74.8 kB | 74.8 kB | ✓ |
hooks.html | 4.19 kB | 4.19 kB | ✓ |
hooks.html gzip | 1.07 kB | 1.07 kB | ✓ |
index.js | 281 kB | 281 kB | ✓ |
index.js gzip | 75.1 kB | 75.1 kB | ✓ |
link.js | 289 kB | 289 kB | ✓ |
link.js gzip | 77.1 kB | 77.1 kB | ✓ |
routerDirect.js | 282 kB | 282 kB | ✓ |
routerDirect.js gzip | 75.2 kB | 75.2 kB | ✓ |
withRouter.js | 282 kB | 282 kB | ✓ |
withRouter.js gzip | 75.3 kB | 75.3 kB | ✓ |
Overall change | 1.42 MB | 1.42 MB | ✓ |
Commit: 1bfff3f
Stats from current PRDefault Server Mode (Increase detected
|
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 14.3s | 14.3s | -24ms |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.3 kB | ✓ |
main-HASH.js gzip | 6.43 kB | 6.43 kB | ✓ |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.2 kB | ✓ |
main-HASH.module.js gzip | 5.36 kB | 5.36 kB | ✓ |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 189 kB | ✓ |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Rendered Page Sizes
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
index.html | 4.06 kB | 4.06 kB | ✓ |
index.html gzip | 1.04 kB | 1.04 kB | ✓ |
link.html | 4.11 kB | 4.11 kB | ✓ |
link.html gzip | 1.05 kB | 1.05 kB | ✓ |
withRouter.html | 4.12 kB | 4.12 kB | ✓ |
withRouter.html gzip | 1.03 kB | 1.03 kB | ✓ |
Overall change | 12.3 kB | 12.3 kB | ✓ |
Serverless Mode (Increase detected ⚠️ )
General Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 14.6s | 14.4s | -197ms |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.3 kB | ✓ |
main-HASH.js gzip | 6.43 kB | 6.43 kB | ✓ |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.2 kB | ✓ |
main-HASH.module.js gzip | 5.36 kB | 5.36 kB | ✓ |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 189 kB | ✓ |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Serverless bundles
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_error.js | 281 kB | 281 kB | ✓ |
_error.js gzip | 74.8 kB | 74.8 kB | ✓ |
hooks.html | 4.19 kB | 4.19 kB | ✓ |
hooks.html gzip | 1.07 kB | 1.07 kB | ✓ |
index.js | 281 kB | 281 kB | ✓ |
index.js gzip | 75.1 kB | 75.1 kB | ✓ |
link.js | 289 kB | 289 kB | ✓ |
link.js gzip | 77.1 kB | 77.1 kB | ✓ |
routerDirect.js | 282 kB | 282 kB | ✓ |
routerDirect.js gzip | 75.2 kB | 75.2 kB | ✓ |
withRouter.js | 282 kB | 282 kB | ✓ |
withRouter.js gzip | 75.3 kB | 75.3 kB | ✓ |
Overall change | 1.42 MB | 1.42 MB | ✓ |
Commit: dbd142a
Stats from current PRDefault Server Mode (Increase detected
|
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 12.5s | 12.4s | -114ms |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.3 kB | ✓ |
main-HASH.js gzip | 6.43 kB | 6.43 kB | ✓ |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.2 kB | ✓ |
main-HASH.module.js gzip | 5.36 kB | 5.36 kB | ✓ |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 189 kB | ✓ |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Rendered Page Sizes
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
index.html | 4.06 kB | 4.06 kB | ✓ |
index.html gzip | 1.04 kB | 1.04 kB | ✓ |
link.html | 4.11 kB | 4.11 kB | ✓ |
link.html gzip | 1.05 kB | 1.05 kB | ✓ |
withRouter.html | 4.12 kB | 4.12 kB | ✓ |
withRouter.html gzip | 1.03 kB | 1.03 kB | ✓ |
Overall change | 12.3 kB | 12.3 kB | ✓ |
Serverless Mode (Increase detected ⚠️ )
General Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 13s | 12.9s | -142ms |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.3 kB | ✓ |
main-HASH.js gzip | 6.43 kB | 6.43 kB | ✓ |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.2 kB | ✓ |
main-HASH.module.js gzip | 5.36 kB | 5.36 kB | ✓ |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 189 kB | ✓ |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Serverless bundles
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_error.js | 281 kB | 281 kB | ✓ |
_error.js gzip | 74.8 kB | 74.8 kB | ✓ |
hooks.html | 4.19 kB | 4.19 kB | ✓ |
hooks.html gzip | 1.07 kB | 1.07 kB | ✓ |
index.js | 281 kB | 281 kB | ✓ |
index.js gzip | 75.1 kB | 75.1 kB | ✓ |
link.js | 289 kB | 289 kB | ✓ |
link.js gzip | 77.1 kB | 77.1 kB | ✓ |
routerDirect.js | 282 kB | 282 kB | ✓ |
routerDirect.js gzip | 75.2 kB | 75.2 kB | ✓ |
withRouter.js | 282 kB | 282 kB | ✓ |
withRouter.js gzip | 75.3 kB | 75.3 kB | ✓ |
Overall change | 1.42 MB | 1.42 MB | ✓ |
Commit: 6263d09
Stats from current PRDefault Server Mode (Increase detected
|
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 13.7s | 13.6s | -11ms |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.3 kB | ✓ |
main-HASH.js gzip | 6.43 kB | 6.43 kB | ✓ |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.2 kB | ✓ |
main-HASH.module.js gzip | 5.36 kB | 5.36 kB | ✓ |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 189 kB | ✓ |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Rendered Page Sizes
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
index.html | 4.06 kB | 4.06 kB | ✓ |
index.html gzip | 1.04 kB | 1.04 kB | ✓ |
link.html | 4.11 kB | 4.11 kB | ✓ |
link.html gzip | 1.05 kB | 1.05 kB | ✓ |
withRouter.html | 4.12 kB | 4.12 kB | ✓ |
withRouter.html gzip | 1.03 kB | 1.03 kB | ✓ |
Overall change | 12.3 kB | 12.3 kB | ✓ |
Serverless Mode (Increase detected ⚠️ )
General Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 14.4s | 14.3s | -120ms |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.3 kB | ✓ |
main-HASH.js gzip | 6.43 kB | 6.43 kB | ✓ |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.2 kB | ✓ |
main-HASH.module.js gzip | 5.36 kB | 5.36 kB | ✓ |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 189 kB | ✓ |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Serverless bundles
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_error.js | 281 kB | 281 kB | ✓ |
_error.js gzip | 74.8 kB | 74.8 kB | ✓ |
hooks.html | 4.19 kB | 4.19 kB | ✓ |
hooks.html gzip | 1.07 kB | 1.07 kB | ✓ |
index.js | 281 kB | 281 kB | ✓ |
index.js gzip | 75.1 kB | 75.1 kB | ✓ |
link.js | 289 kB | 289 kB | ✓ |
link.js gzip | 77.1 kB | 77.1 kB | ✓ |
routerDirect.js | 282 kB | 282 kB | ✓ |
routerDirect.js gzip | 75.2 kB | 75.2 kB | ✓ |
withRouter.js | 282 kB | 282 kB | ✓ |
withRouter.js gzip | 75.3 kB | 75.3 kB | ✓ |
Overall change | 1.42 MB | 1.42 MB | ✓ |
Commit: f603178
Stats from current PRDefault Server Mode (Increase detected
|
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 12s | 12.1s | |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons) Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.5 kB | |
main-HASH.js gzip | 6.43 kB | 6.49 kB | |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB |
Client Bundles (main, webpack, commons) Modern Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.5 kB | |
main-HASH.module.js gzip | 5.36 kB | 5.42 kB | |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 190 kB |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Rendered Page Sizes
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
index.html | 4.06 kB | 4.06 kB | ✓ |
index.html gzip | 1.04 kB | 1.04 kB | |
link.html | 4.11 kB | 4.11 kB | ✓ |
link.html gzip | 1.05 kB | 1.05 kB | ✓ |
withRouter.html | 4.12 kB | 4.12 kB | ✓ |
withRouter.html gzip | 1.03 kB | 1.03 kB | ✓ |
Overall change | 12.3 kB | 12.3 kB | ✓ |
Diffs
Diff for main-HASH.js
@@ -1400,12 +1400,20 @@ function supportsPreload(el) {
var hasPreload = supportsPreload(document.createElement('link'));
-function preloadScript(url) {
+function preloadLink(url, resourceType) {
var link = document.createElement('link');
link.rel = 'preload';
link.crossOrigin = "anonymous";
link.href = url;
- link.as = 'script';
+ link.as = resourceType;
+ document.head.appendChild(link);
+}
+
+function loadStyle(url) {
+ var link = document.createElement('link');
+ link.rel = 'stylesheet';
+ link.crossOrigin = "anonymous";
+ link.href = url;
document.head.appendChild(link);
}
@@ -1518,6 +1526,10 @@ function () {
if (/\.js$/.test(d) && !document.querySelector("script[src^=\"" + d + "\"]")) {
_this3.loadScript(d, route, false);
}
+
+ if (/\.css$/.test(d) && !document.querySelector("link[rel=stylesheet][href^=\"" + d + "\"]")) {
+ loadStyle(d); // FIXME: handle failure
+ }
});
_this3.loadRoute(route);
@@ -1680,7 +1692,7 @@ function () {
break;
}
- preloadScript(url);
+ preloadLink(url, url.match(/\.css$/) ? 'style' : 'script');
return _context2.abrupt("return");
case 18:
Diff for main-HASH.module.js
@@ -1091,12 +1091,20 @@ function supportsPreload(el) {
var hasPreload = supportsPreload(document.createElement('link'));
-function preloadScript(url) {
+function preloadLink(url, resourceType) {
var link = document.createElement('link');
link.rel = 'preload';
link.crossOrigin = "anonymous";
link.href = url;
- link.as = 'script';
+ link.as = resourceType;
+ document.head.appendChild(link);
+}
+
+function loadStyle(url) {
+ var link = document.createElement('link');
+ link.rel = 'stylesheet';
+ link.crossOrigin = "anonymous";
+ link.href = url;
document.head.appendChild(link);
}
@@ -1193,6 +1201,10 @@ class PageLoader {
if (/\.js$/.test(d) && !document.querySelector("script[src^=\"" + d + "\"]")) {
this.loadScript(d, route, false);
}
+
+ if (/\.css$/.test(d) && !document.querySelector("link[rel=stylesheet][href^=\"" + d + "\"]")) {
+ loadStyle(d); // FIXME: handle failure
+ }
});
this.loadRoute(route);
this.loadingRoutes[route] = true;
@@ -1303,7 +1315,7 @@ class PageLoader {
if (hasPreload) {
- preloadScript(url);
+ preloadLink(url, url.match(/\.css$/) ? 'style' : 'script');
return;
}
Diff for index.html
@@ -12,7 +12,7 @@
as="script" crossorigin="anonymous" />
<link rel="preload" href="/_next/static/runtime/webpack-7928590be3ef2e55b835.module.js"
as="script" crossorigin="anonymous" />
- <link rel="preload" href="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <link rel="preload" href="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
as="script" crossorigin="anonymous" />
<link rel="preload" href="/_next/static/chunks/framework.9c9aa574c484a7d0240e.module.js"
as="script" crossorigin="anonymous" />
@@ -44,9 +44,9 @@
async="" crossorigin="anonymous" nomodule=""></script>
<script src="/_next/static/runtime/webpack-7928590be3ef2e55b835.module.js"
async="" crossorigin="anonymous" type="module"></script>
- <script src="/_next/static/runtime/main-b153cd1ecab2e3ac2477.js"
+ <script src="/_next/static/runtime/main-435ab19fd609d961b7a3.js"
async="" crossorigin="anonymous" nomodule=""></script>
- <script src="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <script src="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
async="" crossorigin="anonymous" type="module"></script>
<script src="/_next/static/chunks/framework.4c64484d8a631a55b435.js"
async="" crossorigin="anonymous" nomodule=""></script>
Diff for link.html
@@ -18,7 +18,7 @@
as="script" crossorigin="anonymous" />
<link rel="preload" href="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.a72e7b12d79d50627ee6.module.js"
as="script" crossorigin="anonymous" />
- <link rel="preload" href="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <link rel="preload" href="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
as="script" crossorigin="anonymous" />
</head>
@@ -61,9 +61,9 @@
async="" crossorigin="anonymous" nomodule=""></script>
<script src="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.a72e7b12d79d50627ee6.module.js"
async="" crossorigin="anonymous" type="module"></script>
- <script src="/_next/static/runtime/main-b153cd1ecab2e3ac2477.js"
+ <script src="/_next/static/runtime/main-435ab19fd609d961b7a3.js"
async="" crossorigin="anonymous" nomodule=""></script>
- <script src="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <script src="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
async="" crossorigin="anonymous" type="module"></script>
<script src="/_next/static/BUILD_ID/_buildManifest.js" async=""
crossorigin="anonymous" nomodule=""></script>
Diff for withRouter.html
@@ -18,7 +18,7 @@
as="script" crossorigin="anonymous" />
<link rel="preload" href="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.a72e7b12d79d50627ee6.module.js"
as="script" crossorigin="anonymous" />
- <link rel="preload" href="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <link rel="preload" href="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
as="script" crossorigin="anonymous" />
</head>
@@ -59,9 +59,9 @@
async="" crossorigin="anonymous" nomodule=""></script>
<script src="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.a72e7b12d79d50627ee6.module.js"
async="" crossorigin="anonymous" type="module"></script>
- <script src="/_next/static/runtime/main-b153cd1ecab2e3ac2477.js"
+ <script src="/_next/static/runtime/main-435ab19fd609d961b7a3.js"
async="" crossorigin="anonymous" nomodule=""></script>
- <script src="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <script src="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
async="" crossorigin="anonymous" type="module"></script>
<script src="/_next/static/BUILD_ID/_buildManifest.js" async=""
crossorigin="anonymous" nomodule=""></script>
Serverless Mode (Increase detected ⚠️ )
General Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 12.3s | 12.4s | |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons) Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.5 kB | |
main-HASH.js gzip | 6.43 kB | 6.49 kB | |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB |
Client Bundles (main, webpack, commons) Modern Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.5 kB | |
main-HASH.module.js gzip | 5.36 kB | 5.42 kB | |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 190 kB |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Serverless bundles
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_error.js | 281 kB | 281 kB | ✓ |
_error.js gzip | 74.8 kB | 74.8 kB | -1 B |
hooks.html | 4.19 kB | 4.19 kB | ✓ |
hooks.html gzip | 1.07 kB | 1.07 kB | ✓ |
index.js | 281 kB | 281 kB | ✓ |
index.js gzip | 75.1 kB | 75.1 kB | -1 B |
link.js | 289 kB | 289 kB | ✓ |
link.js gzip | 77.1 kB | 77.1 kB | ✓ |
routerDirect.js | 282 kB | 282 kB | ✓ |
routerDirect.js gzip | 75.2 kB | 75.2 kB | -1 B |
withRouter.js | 282 kB | 282 kB | ✓ |
withRouter.js gzip | 75.3 kB | 75.3 kB | ✓ |
Overall change | 1.42 MB | 1.42 MB | ✓ |
Commit: e7d0d97
Stats from current PRDefault Server Mode (Increase detected
|
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 13.8s | 13.8s | |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons) Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.5 kB | |
main-HASH.js gzip | 6.43 kB | 6.49 kB | |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB |
Client Bundles (main, webpack, commons) Modern Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.5 kB | |
main-HASH.module.js gzip | 5.36 kB | 5.42 kB | |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 190 kB |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Rendered Page Sizes
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
index.html | 4.06 kB | 4.06 kB | ✓ |
index.html gzip | 1.04 kB | 1.04 kB | |
link.html | 4.11 kB | 4.11 kB | ✓ |
link.html gzip | 1.05 kB | 1.05 kB | ✓ |
withRouter.html | 4.12 kB | 4.12 kB | ✓ |
withRouter.html gzip | 1.03 kB | 1.03 kB | ✓ |
Overall change | 12.3 kB | 12.3 kB | ✓ |
Diffs
Diff for main-HASH.js
@@ -1400,12 +1400,20 @@ function supportsPreload(el) {
var hasPreload = supportsPreload(document.createElement('link'));
-function preloadScript(url) {
+function preloadLink(url, resourceType) {
var link = document.createElement('link');
link.rel = 'preload';
link.crossOrigin = "anonymous";
link.href = url;
- link.as = 'script';
+ link.as = resourceType;
+ document.head.appendChild(link);
+}
+
+function loadStyle(url) {
+ var link = document.createElement('link');
+ link.rel = 'stylesheet';
+ link.crossOrigin = "anonymous";
+ link.href = url;
document.head.appendChild(link);
}
@@ -1518,6 +1526,10 @@ function () {
if (/\.js$/.test(d) && !document.querySelector("script[src^=\"" + d + "\"]")) {
_this3.loadScript(d, route, false);
}
+
+ if (/\.css$/.test(d) && !document.querySelector("link[rel=stylesheet][href^=\"" + d + "\"]")) {
+ loadStyle(d); // FIXME: handle failure
+ }
});
_this3.loadRoute(route);
@@ -1680,7 +1692,7 @@ function () {
break;
}
- preloadScript(url);
+ preloadLink(url, url.match(/\.css$/) ? 'style' : 'script');
return _context2.abrupt("return");
case 18:
Diff for main-HASH.module.js
@@ -1091,12 +1091,20 @@ function supportsPreload(el) {
var hasPreload = supportsPreload(document.createElement('link'));
-function preloadScript(url) {
+function preloadLink(url, resourceType) {
var link = document.createElement('link');
link.rel = 'preload';
link.crossOrigin = "anonymous";
link.href = url;
- link.as = 'script';
+ link.as = resourceType;
+ document.head.appendChild(link);
+}
+
+function loadStyle(url) {
+ var link = document.createElement('link');
+ link.rel = 'stylesheet';
+ link.crossOrigin = "anonymous";
+ link.href = url;
document.head.appendChild(link);
}
@@ -1193,6 +1201,10 @@ class PageLoader {
if (/\.js$/.test(d) && !document.querySelector("script[src^=\"" + d + "\"]")) {
this.loadScript(d, route, false);
}
+
+ if (/\.css$/.test(d) && !document.querySelector("link[rel=stylesheet][href^=\"" + d + "\"]")) {
+ loadStyle(d); // FIXME: handle failure
+ }
});
this.loadRoute(route);
this.loadingRoutes[route] = true;
@@ -1303,7 +1315,7 @@ class PageLoader {
if (hasPreload) {
- preloadScript(url);
+ preloadLink(url, url.match(/\.css$/) ? 'style' : 'script');
return;
}
Diff for index.html
@@ -12,7 +12,7 @@
as="script" crossorigin="anonymous" />
<link rel="preload" href="/_next/static/runtime/webpack-7928590be3ef2e55b835.module.js"
as="script" crossorigin="anonymous" />
- <link rel="preload" href="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <link rel="preload" href="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
as="script" crossorigin="anonymous" />
<link rel="preload" href="/_next/static/chunks/framework.9c9aa574c484a7d0240e.module.js"
as="script" crossorigin="anonymous" />
@@ -44,9 +44,9 @@
async="" crossorigin="anonymous" nomodule=""></script>
<script src="/_next/static/runtime/webpack-7928590be3ef2e55b835.module.js"
async="" crossorigin="anonymous" type="module"></script>
- <script src="/_next/static/runtime/main-b153cd1ecab2e3ac2477.js"
+ <script src="/_next/static/runtime/main-435ab19fd609d961b7a3.js"
async="" crossorigin="anonymous" nomodule=""></script>
- <script src="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <script src="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
async="" crossorigin="anonymous" type="module"></script>
<script src="/_next/static/chunks/framework.4c64484d8a631a55b435.js"
async="" crossorigin="anonymous" nomodule=""></script>
Diff for link.html
@@ -18,7 +18,7 @@
as="script" crossorigin="anonymous" />
<link rel="preload" href="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.a72e7b12d79d50627ee6.module.js"
as="script" crossorigin="anonymous" />
- <link rel="preload" href="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <link rel="preload" href="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
as="script" crossorigin="anonymous" />
</head>
@@ -61,9 +61,9 @@
async="" crossorigin="anonymous" nomodule=""></script>
<script src="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.a72e7b12d79d50627ee6.module.js"
async="" crossorigin="anonymous" type="module"></script>
- <script src="/_next/static/runtime/main-b153cd1ecab2e3ac2477.js"
+ <script src="/_next/static/runtime/main-435ab19fd609d961b7a3.js"
async="" crossorigin="anonymous" nomodule=""></script>
- <script src="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <script src="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
async="" crossorigin="anonymous" type="module"></script>
<script src="/_next/static/BUILD_ID/_buildManifest.js" async=""
crossorigin="anonymous" nomodule=""></script>
Diff for withRouter.html
@@ -18,7 +18,7 @@
as="script" crossorigin="anonymous" />
<link rel="preload" href="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.a72e7b12d79d50627ee6.module.js"
as="script" crossorigin="anonymous" />
- <link rel="preload" href="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <link rel="preload" href="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
as="script" crossorigin="anonymous" />
</head>
@@ -59,9 +59,9 @@
async="" crossorigin="anonymous" nomodule=""></script>
<script src="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.a72e7b12d79d50627ee6.module.js"
async="" crossorigin="anonymous" type="module"></script>
- <script src="/_next/static/runtime/main-b153cd1ecab2e3ac2477.js"
+ <script src="/_next/static/runtime/main-435ab19fd609d961b7a3.js"
async="" crossorigin="anonymous" nomodule=""></script>
- <script src="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <script src="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
async="" crossorigin="anonymous" type="module"></script>
<script src="/_next/static/BUILD_ID/_buildManifest.js" async=""
crossorigin="anonymous" nomodule=""></script>
Serverless Mode (Increase detected ⚠️ )
General Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 13.7s | 13.9s | |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons) Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.5 kB | |
main-HASH.js gzip | 6.43 kB | 6.49 kB | |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB |
Client Bundles (main, webpack, commons) Modern Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.5 kB | |
main-HASH.module.js gzip | 5.36 kB | 5.42 kB | |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 190 kB |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Serverless bundles
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_error.js | 281 kB | 281 kB | ✓ |
_error.js gzip | 74.8 kB | 74.8 kB | -1 B |
hooks.html | 4.19 kB | 4.19 kB | ✓ |
hooks.html gzip | 1.07 kB | 1.07 kB | ✓ |
index.js | 281 kB | 281 kB | ✓ |
index.js gzip | 75.1 kB | 75.1 kB | -1 B |
link.js | 289 kB | 289 kB | ✓ |
link.js gzip | 77.1 kB | 77.1 kB | ✓ |
routerDirect.js | 282 kB | 282 kB | ✓ |
routerDirect.js gzip | 75.2 kB | 75.2 kB | -1 B |
withRouter.js | 282 kB | 282 kB | ✓ |
withRouter.js gzip | 75.3 kB | 75.3 kB | ✓ |
Overall change | 1.42 MB | 1.42 MB | ✓ |
Commit: 34e604f
Stats from current PRDefault Server Mode (Increase detected
|
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 12.5s | 12.7s | |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons) Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.5 kB | |
main-HASH.js gzip | 6.43 kB | 6.49 kB | |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB |
Client Bundles (main, webpack, commons) Modern Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.5 kB | |
main-HASH.module.js gzip | 5.36 kB | 5.42 kB | |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 190 kB |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Rendered Page Sizes
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
index.html | 4.06 kB | 4.06 kB | ✓ |
index.html gzip | 1.04 kB | 1.04 kB | |
link.html | 4.11 kB | 4.11 kB | ✓ |
link.html gzip | 1.05 kB | 1.05 kB | ✓ |
withRouter.html | 4.12 kB | 4.12 kB | ✓ |
withRouter.html gzip | 1.03 kB | 1.03 kB | ✓ |
Overall change | 12.3 kB | 12.3 kB | ✓ |
Diffs
Diff for main-HASH.js
@@ -1400,12 +1400,20 @@ function supportsPreload(el) {
var hasPreload = supportsPreload(document.createElement('link'));
-function preloadScript(url) {
+function preloadLink(url, resourceType) {
var link = document.createElement('link');
link.rel = 'preload';
link.crossOrigin = "anonymous";
link.href = url;
- link.as = 'script';
+ link.as = resourceType;
+ document.head.appendChild(link);
+}
+
+function loadStyle(url) {
+ var link = document.createElement('link');
+ link.rel = 'stylesheet';
+ link.crossOrigin = "anonymous";
+ link.href = url;
document.head.appendChild(link);
}
@@ -1518,6 +1526,10 @@ function () {
if (/\.js$/.test(d) && !document.querySelector("script[src^=\"" + d + "\"]")) {
_this3.loadScript(d, route, false);
}
+
+ if (/\.css$/.test(d) && !document.querySelector("link[rel=stylesheet][href^=\"" + d + "\"]")) {
+ loadStyle(d); // FIXME: handle failure
+ }
});
_this3.loadRoute(route);
@@ -1680,7 +1692,7 @@ function () {
break;
}
- preloadScript(url);
+ preloadLink(url, url.match(/\.css$/) ? 'style' : 'script');
return _context2.abrupt("return");
case 18:
Diff for main-HASH.module.js
@@ -1091,12 +1091,20 @@ function supportsPreload(el) {
var hasPreload = supportsPreload(document.createElement('link'));
-function preloadScript(url) {
+function preloadLink(url, resourceType) {
var link = document.createElement('link');
link.rel = 'preload';
link.crossOrigin = "anonymous";
link.href = url;
- link.as = 'script';
+ link.as = resourceType;
+ document.head.appendChild(link);
+}
+
+function loadStyle(url) {
+ var link = document.createElement('link');
+ link.rel = 'stylesheet';
+ link.crossOrigin = "anonymous";
+ link.href = url;
document.head.appendChild(link);
}
@@ -1193,6 +1201,10 @@ class PageLoader {
if (/\.js$/.test(d) && !document.querySelector("script[src^=\"" + d + "\"]")) {
this.loadScript(d, route, false);
}
+
+ if (/\.css$/.test(d) && !document.querySelector("link[rel=stylesheet][href^=\"" + d + "\"]")) {
+ loadStyle(d); // FIXME: handle failure
+ }
});
this.loadRoute(route);
this.loadingRoutes[route] = true;
@@ -1303,7 +1315,7 @@ class PageLoader {
if (hasPreload) {
- preloadScript(url);
+ preloadLink(url, url.match(/\.css$/) ? 'style' : 'script');
return;
}
Diff for index.html
@@ -12,7 +12,7 @@
as="script" crossorigin="anonymous" />
<link rel="preload" href="/_next/static/runtime/webpack-7928590be3ef2e55b835.module.js"
as="script" crossorigin="anonymous" />
- <link rel="preload" href="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <link rel="preload" href="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
as="script" crossorigin="anonymous" />
<link rel="preload" href="/_next/static/chunks/framework.9c9aa574c484a7d0240e.module.js"
as="script" crossorigin="anonymous" />
@@ -44,9 +44,9 @@
async="" crossorigin="anonymous" nomodule=""></script>
<script src="/_next/static/runtime/webpack-7928590be3ef2e55b835.module.js"
async="" crossorigin="anonymous" type="module"></script>
- <script src="/_next/static/runtime/main-b153cd1ecab2e3ac2477.js"
+ <script src="/_next/static/runtime/main-435ab19fd609d961b7a3.js"
async="" crossorigin="anonymous" nomodule=""></script>
- <script src="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <script src="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
async="" crossorigin="anonymous" type="module"></script>
<script src="/_next/static/chunks/framework.4c64484d8a631a55b435.js"
async="" crossorigin="anonymous" nomodule=""></script>
Diff for link.html
@@ -18,7 +18,7 @@
as="script" crossorigin="anonymous" />
<link rel="preload" href="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.a72e7b12d79d50627ee6.module.js"
as="script" crossorigin="anonymous" />
- <link rel="preload" href="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <link rel="preload" href="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
as="script" crossorigin="anonymous" />
</head>
@@ -61,9 +61,9 @@
async="" crossorigin="anonymous" nomodule=""></script>
<script src="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.a72e7b12d79d50627ee6.module.js"
async="" crossorigin="anonymous" type="module"></script>
- <script src="/_next/static/runtime/main-b153cd1ecab2e3ac2477.js"
+ <script src="/_next/static/runtime/main-435ab19fd609d961b7a3.js"
async="" crossorigin="anonymous" nomodule=""></script>
- <script src="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <script src="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
async="" crossorigin="anonymous" type="module"></script>
<script src="/_next/static/BUILD_ID/_buildManifest.js" async=""
crossorigin="anonymous" nomodule=""></script>
Diff for withRouter.html
@@ -18,7 +18,7 @@
as="script" crossorigin="anonymous" />
<link rel="preload" href="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.a72e7b12d79d50627ee6.module.js"
as="script" crossorigin="anonymous" />
- <link rel="preload" href="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <link rel="preload" href="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
as="script" crossorigin="anonymous" />
</head>
@@ -59,9 +59,9 @@
async="" crossorigin="anonymous" nomodule=""></script>
<script src="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.a72e7b12d79d50627ee6.module.js"
async="" crossorigin="anonymous" type="module"></script>
- <script src="/_next/static/runtime/main-b153cd1ecab2e3ac2477.js"
+ <script src="/_next/static/runtime/main-435ab19fd609d961b7a3.js"
async="" crossorigin="anonymous" nomodule=""></script>
- <script src="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <script src="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
async="" crossorigin="anonymous" type="module"></script>
<script src="/_next/static/BUILD_ID/_buildManifest.js" async=""
crossorigin="anonymous" nomodule=""></script>
Serverless Mode (Increase detected ⚠️ )
General Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 13s | 12.8s | -207ms |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons) Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.5 kB | |
main-HASH.js gzip | 6.43 kB | 6.49 kB | |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB |
Client Bundles (main, webpack, commons) Modern Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.5 kB | |
main-HASH.module.js gzip | 5.36 kB | 5.42 kB | |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 190 kB |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Serverless bundles
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_error.js | 281 kB | 281 kB | ✓ |
_error.js gzip | 74.8 kB | 74.8 kB | -1 B |
hooks.html | 4.19 kB | 4.19 kB | ✓ |
hooks.html gzip | 1.07 kB | 1.07 kB | ✓ |
index.js | 281 kB | 281 kB | ✓ |
index.js gzip | 75.1 kB | 75.1 kB | -1 B |
link.js | 289 kB | 289 kB | ✓ |
link.js gzip | 77.1 kB | 77.1 kB | ✓ |
routerDirect.js | 282 kB | 282 kB | ✓ |
routerDirect.js gzip | 75.2 kB | 75.2 kB | -1 B |
withRouter.js | 282 kB | 282 kB | ✓ |
withRouter.js gzip | 75.3 kB | 75.3 kB | ✓ |
Overall change | 1.42 MB | 1.42 MB | ✓ |
Commit: e9db89d
Stats from current PRDefault Server Mode (Increase detected
|
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 14.1s | 13.9s | -166ms |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons) Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.5 kB | |
main-HASH.js gzip | 6.43 kB | 6.49 kB | |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB |
Client Bundles (main, webpack, commons) Modern Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.5 kB | |
main-HASH.module.js gzip | 5.36 kB | 5.42 kB | |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 190 kB |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Rendered Page Sizes
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
index.html | 4.06 kB | 4.06 kB | ✓ |
index.html gzip | 1.04 kB | 1.04 kB | |
link.html | 4.11 kB | 4.11 kB | ✓ |
link.html gzip | 1.05 kB | 1.05 kB | ✓ |
withRouter.html | 4.12 kB | 4.12 kB | ✓ |
withRouter.html gzip | 1.03 kB | 1.03 kB | ✓ |
Overall change | 12.3 kB | 12.3 kB | ✓ |
Diffs
Diff for main-HASH.js
@@ -1400,12 +1400,20 @@ function supportsPreload(el) {
var hasPreload = supportsPreload(document.createElement('link'));
-function preloadScript(url) {
+function preloadLink(url, resourceType) {
var link = document.createElement('link');
link.rel = 'preload';
link.crossOrigin = "anonymous";
link.href = url;
- link.as = 'script';
+ link.as = resourceType;
+ document.head.appendChild(link);
+}
+
+function loadStyle(url) {
+ var link = document.createElement('link');
+ link.rel = 'stylesheet';
+ link.crossOrigin = "anonymous";
+ link.href = url;
document.head.appendChild(link);
}
@@ -1518,6 +1526,10 @@ function () {
if (/\.js$/.test(d) && !document.querySelector("script[src^=\"" + d + "\"]")) {
_this3.loadScript(d, route, false);
}
+
+ if (/\.css$/.test(d) && !document.querySelector("link[rel=stylesheet][href^=\"" + d + "\"]")) {
+ loadStyle(d); // FIXME: handle failure
+ }
});
_this3.loadRoute(route);
@@ -1680,7 +1692,7 @@ function () {
break;
}
- preloadScript(url);
+ preloadLink(url, url.match(/\.css$/) ? 'style' : 'script');
return _context2.abrupt("return");
case 18:
Diff for main-HASH.module.js
@@ -1091,12 +1091,20 @@ function supportsPreload(el) {
var hasPreload = supportsPreload(document.createElement('link'));
-function preloadScript(url) {
+function preloadLink(url, resourceType) {
var link = document.createElement('link');
link.rel = 'preload';
link.crossOrigin = "anonymous";
link.href = url;
- link.as = 'script';
+ link.as = resourceType;
+ document.head.appendChild(link);
+}
+
+function loadStyle(url) {
+ var link = document.createElement('link');
+ link.rel = 'stylesheet';
+ link.crossOrigin = "anonymous";
+ link.href = url;
document.head.appendChild(link);
}
@@ -1193,6 +1201,10 @@ class PageLoader {
if (/\.js$/.test(d) && !document.querySelector("script[src^=\"" + d + "\"]")) {
this.loadScript(d, route, false);
}
+
+ if (/\.css$/.test(d) && !document.querySelector("link[rel=stylesheet][href^=\"" + d + "\"]")) {
+ loadStyle(d); // FIXME: handle failure
+ }
});
this.loadRoute(route);
this.loadingRoutes[route] = true;
@@ -1303,7 +1315,7 @@ class PageLoader {
if (hasPreload) {
- preloadScript(url);
+ preloadLink(url, url.match(/\.css$/) ? 'style' : 'script');
return;
}
Diff for index.html
@@ -12,7 +12,7 @@
as="script" crossorigin="anonymous" />
<link rel="preload" href="/_next/static/runtime/webpack-7928590be3ef2e55b835.module.js"
as="script" crossorigin="anonymous" />
- <link rel="preload" href="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <link rel="preload" href="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
as="script" crossorigin="anonymous" />
<link rel="preload" href="/_next/static/chunks/framework.9c9aa574c484a7d0240e.module.js"
as="script" crossorigin="anonymous" />
@@ -44,9 +44,9 @@
async="" crossorigin="anonymous" nomodule=""></script>
<script src="/_next/static/runtime/webpack-7928590be3ef2e55b835.module.js"
async="" crossorigin="anonymous" type="module"></script>
- <script src="/_next/static/runtime/main-b153cd1ecab2e3ac2477.js"
+ <script src="/_next/static/runtime/main-435ab19fd609d961b7a3.js"
async="" crossorigin="anonymous" nomodule=""></script>
- <script src="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <script src="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
async="" crossorigin="anonymous" type="module"></script>
<script src="/_next/static/chunks/framework.4c64484d8a631a55b435.js"
async="" crossorigin="anonymous" nomodule=""></script>
Diff for link.html
@@ -18,7 +18,7 @@
as="script" crossorigin="anonymous" />
<link rel="preload" href="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.a72e7b12d79d50627ee6.module.js"
as="script" crossorigin="anonymous" />
- <link rel="preload" href="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <link rel="preload" href="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
as="script" crossorigin="anonymous" />
</head>
@@ -61,9 +61,9 @@
async="" crossorigin="anonymous" nomodule=""></script>
<script src="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.a72e7b12d79d50627ee6.module.js"
async="" crossorigin="anonymous" type="module"></script>
- <script src="/_next/static/runtime/main-b153cd1ecab2e3ac2477.js"
+ <script src="/_next/static/runtime/main-435ab19fd609d961b7a3.js"
async="" crossorigin="anonymous" nomodule=""></script>
- <script src="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <script src="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
async="" crossorigin="anonymous" type="module"></script>
<script src="/_next/static/BUILD_ID/_buildManifest.js" async=""
crossorigin="anonymous" nomodule=""></script>
Diff for withRouter.html
@@ -18,7 +18,7 @@
as="script" crossorigin="anonymous" />
<link rel="preload" href="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.a72e7b12d79d50627ee6.module.js"
as="script" crossorigin="anonymous" />
- <link rel="preload" href="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <link rel="preload" href="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
as="script" crossorigin="anonymous" />
</head>
@@ -59,9 +59,9 @@
async="" crossorigin="anonymous" nomodule=""></script>
<script src="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.a72e7b12d79d50627ee6.module.js"
async="" crossorigin="anonymous" type="module"></script>
- <script src="/_next/static/runtime/main-b153cd1ecab2e3ac2477.js"
+ <script src="/_next/static/runtime/main-435ab19fd609d961b7a3.js"
async="" crossorigin="anonymous" nomodule=""></script>
- <script src="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <script src="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
async="" crossorigin="anonymous" type="module"></script>
<script src="/_next/static/BUILD_ID/_buildManifest.js" async=""
crossorigin="anonymous" nomodule=""></script>
Serverless Mode (Increase detected ⚠️ )
General Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 14.3s | 14.6s | |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons) Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.5 kB | |
main-HASH.js gzip | 6.43 kB | 6.49 kB | |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB |
Client Bundles (main, webpack, commons) Modern Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.5 kB | |
main-HASH.module.js gzip | 5.36 kB | 5.42 kB | |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 190 kB |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Serverless bundles
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_error.js | 281 kB | 281 kB | ✓ |
_error.js gzip | 74.8 kB | 74.8 kB | -1 B |
hooks.html | 4.19 kB | 4.19 kB | ✓ |
hooks.html gzip | 1.07 kB | 1.07 kB | ✓ |
index.js | 281 kB | 281 kB | ✓ |
index.js gzip | 75.1 kB | 75.1 kB | -1 B |
link.js | 289 kB | 289 kB | ✓ |
link.js gzip | 77.1 kB | 77.1 kB | ✓ |
routerDirect.js | 282 kB | 282 kB | ✓ |
routerDirect.js gzip | 75.2 kB | 75.2 kB | -1 B |
withRouter.js | 282 kB | 282 kB | ✓ |
withRouter.js gzip | 75.3 kB | 75.3 kB | ✓ |
Overall change | 1.42 MB | 1.42 MB | ✓ |
Commit: 74a2e3f
Stats from current PRDefault Server Mode (Increase detected
|
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 12.9s | 12.9s | -59ms |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons) Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.5 kB | |
main-HASH.js gzip | 6.43 kB | 6.49 kB | |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB |
Client Bundles (main, webpack, commons) Modern Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.5 kB | |
main-HASH.module.js gzip | 5.36 kB | 5.42 kB | |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 190 kB |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Rendered Page Sizes
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
index.html | 4.06 kB | 4.06 kB | ✓ |
index.html gzip | 1.04 kB | 1.04 kB | |
link.html | 4.11 kB | 4.11 kB | ✓ |
link.html gzip | 1.05 kB | 1.05 kB | ✓ |
withRouter.html | 4.12 kB | 4.12 kB | ✓ |
withRouter.html gzip | 1.03 kB | 1.03 kB | ✓ |
Overall change | 12.3 kB | 12.3 kB | ✓ |
Diffs
Diff for main-HASH.js
@@ -1400,12 +1400,20 @@ function supportsPreload(el) {
var hasPreload = supportsPreload(document.createElement('link'));
-function preloadScript(url) {
+function preloadLink(url, resourceType) {
var link = document.createElement('link');
link.rel = 'preload';
link.crossOrigin = "anonymous";
link.href = url;
- link.as = 'script';
+ link.as = resourceType;
+ document.head.appendChild(link);
+}
+
+function loadStyle(url) {
+ var link = document.createElement('link');
+ link.rel = 'stylesheet';
+ link.crossOrigin = "anonymous";
+ link.href = url;
document.head.appendChild(link);
}
@@ -1518,6 +1526,10 @@ function () {
if (/\.js$/.test(d) && !document.querySelector("script[src^=\"" + d + "\"]")) {
_this3.loadScript(d, route, false);
}
+
+ if (/\.css$/.test(d) && !document.querySelector("link[rel=stylesheet][href^=\"" + d + "\"]")) {
+ loadStyle(d); // FIXME: handle failure
+ }
});
_this3.loadRoute(route);
@@ -1680,7 +1692,7 @@ function () {
break;
}
- preloadScript(url);
+ preloadLink(url, url.match(/\.css$/) ? 'style' : 'script');
return _context2.abrupt("return");
case 18:
Diff for main-HASH.module.js
@@ -1091,12 +1091,20 @@ function supportsPreload(el) {
var hasPreload = supportsPreload(document.createElement('link'));
-function preloadScript(url) {
+function preloadLink(url, resourceType) {
var link = document.createElement('link');
link.rel = 'preload';
link.crossOrigin = "anonymous";
link.href = url;
- link.as = 'script';
+ link.as = resourceType;
+ document.head.appendChild(link);
+}
+
+function loadStyle(url) {
+ var link = document.createElement('link');
+ link.rel = 'stylesheet';
+ link.crossOrigin = "anonymous";
+ link.href = url;
document.head.appendChild(link);
}
@@ -1193,6 +1201,10 @@ class PageLoader {
if (/\.js$/.test(d) && !document.querySelector("script[src^=\"" + d + "\"]")) {
this.loadScript(d, route, false);
}
+
+ if (/\.css$/.test(d) && !document.querySelector("link[rel=stylesheet][href^=\"" + d + "\"]")) {
+ loadStyle(d); // FIXME: handle failure
+ }
});
this.loadRoute(route);
this.loadingRoutes[route] = true;
@@ -1303,7 +1315,7 @@ class PageLoader {
if (hasPreload) {
- preloadScript(url);
+ preloadLink(url, url.match(/\.css$/) ? 'style' : 'script');
return;
}
Diff for index.html
@@ -12,7 +12,7 @@
as="script" crossorigin="anonymous" />
<link rel="preload" href="/_next/static/runtime/webpack-7928590be3ef2e55b835.module.js"
as="script" crossorigin="anonymous" />
- <link rel="preload" href="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <link rel="preload" href="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
as="script" crossorigin="anonymous" />
<link rel="preload" href="/_next/static/chunks/framework.9c9aa574c484a7d0240e.module.js"
as="script" crossorigin="anonymous" />
@@ -44,9 +44,9 @@
async="" crossorigin="anonymous" nomodule=""></script>
<script src="/_next/static/runtime/webpack-7928590be3ef2e55b835.module.js"
async="" crossorigin="anonymous" type="module"></script>
- <script src="/_next/static/runtime/main-b153cd1ecab2e3ac2477.js"
+ <script src="/_next/static/runtime/main-435ab19fd609d961b7a3.js"
async="" crossorigin="anonymous" nomodule=""></script>
- <script src="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <script src="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
async="" crossorigin="anonymous" type="module"></script>
<script src="/_next/static/chunks/framework.4c64484d8a631a55b435.js"
async="" crossorigin="anonymous" nomodule=""></script>
Diff for link.html
@@ -18,7 +18,7 @@
as="script" crossorigin="anonymous" />
<link rel="preload" href="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.a72e7b12d79d50627ee6.module.js"
as="script" crossorigin="anonymous" />
- <link rel="preload" href="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <link rel="preload" href="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
as="script" crossorigin="anonymous" />
</head>
@@ -61,9 +61,9 @@
async="" crossorigin="anonymous" nomodule=""></script>
<script src="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.a72e7b12d79d50627ee6.module.js"
async="" crossorigin="anonymous" type="module"></script>
- <script src="/_next/static/runtime/main-b153cd1ecab2e3ac2477.js"
+ <script src="/_next/static/runtime/main-435ab19fd609d961b7a3.js"
async="" crossorigin="anonymous" nomodule=""></script>
- <script src="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <script src="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
async="" crossorigin="anonymous" type="module"></script>
<script src="/_next/static/BUILD_ID/_buildManifest.js" async=""
crossorigin="anonymous" nomodule=""></script>
Diff for withRouter.html
@@ -18,7 +18,7 @@
as="script" crossorigin="anonymous" />
<link rel="preload" href="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.a72e7b12d79d50627ee6.module.js"
as="script" crossorigin="anonymous" />
- <link rel="preload" href="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <link rel="preload" href="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
as="script" crossorigin="anonymous" />
</head>
@@ -59,9 +59,9 @@
async="" crossorigin="anonymous" nomodule=""></script>
<script src="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.a72e7b12d79d50627ee6.module.js"
async="" crossorigin="anonymous" type="module"></script>
- <script src="/_next/static/runtime/main-b153cd1ecab2e3ac2477.js"
+ <script src="/_next/static/runtime/main-435ab19fd609d961b7a3.js"
async="" crossorigin="anonymous" nomodule=""></script>
- <script src="/_next/static/runtime/main-7eae5d7fa68fa43da21e.module.js"
+ <script src="/_next/static/runtime/main-2f26abc74fc4cfbccfb3.module.js"
async="" crossorigin="anonymous" type="module"></script>
<script src="/_next/static/BUILD_ID/_buildManifest.js" async=""
crossorigin="anonymous" nomodule=""></script>
Serverless Mode (Increase detected ⚠️ )
General Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
buildDuration | 13.4s | 13.8s | |
nodeModulesSize | 46.9 MB | 46.9 MB |
Client Bundles (main, webpack, commons) Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.js | 18.3 kB | 18.5 kB | |
main-HASH.js gzip | 6.43 kB | 6.49 kB | |
webpack-HASH.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..1db6754d3.js | 12 kB | 12 kB | ✓ |
4952ddcd88e7..54d3.js gzip | 4.68 kB | 4.68 kB | ✓ |
commons.HASH.js | 10.9 kB | 10.9 kB | ✓ |
commons.HASH.js gzip | 4.06 kB | 4.06 kB | ✓ |
de003c3a9d30..4155a1d0b.js | 38.3 kB | 38.3 kB | ✓ |
de003c3a9d30..1d0b.js gzip | 13.9 kB | 13.9 kB | ✓ |
framework.HASH.js | 126 kB | 126 kB | ✓ |
framework.HASH.js gzip | 39.5 kB | 39.5 kB | ✓ |
Overall change | 207 kB | 207 kB |
Client Bundles (main, webpack, commons) Modern Overall increase ⚠️
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
main-HASH.module.js | 14.2 kB | 14.5 kB | |
main-HASH.module.js gzip | 5.36 kB | 5.42 kB | |
webpack-HASH.module.js | 1.53 kB | 1.53 kB | ✓ |
webpack-HASH..dule.js gzip | 746 B | 746 B | ✓ |
4952ddcd88e7..b9.module.js | 14.9 kB | 14.9 kB | ✓ |
4952ddcd88e7..dule.js gzip | 5.56 kB | 5.56 kB | ✓ |
de003c3a9d30..8b.module.js | 33.1 kB | 33.1 kB | ✓ |
de003c3a9d30..dule.js gzip | 12.5 kB | 12.5 kB | ✓ |
framework.HASH.module.js | 126 kB | 126 kB | ✓ |
framework.HA..dule.js gzip | 39.4 kB | 39.4 kB | ✓ |
Overall change | 189 kB | 190 kB |
Legacy Client Bundles (polyfills)
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
polyfills-HASH.js | 15.3 kB | 15.3 kB | ✓ |
polyfills-HASH.js gzip | 4.76 kB | 4.76 kB | ✓ |
Overall change | 15.3 kB | 15.3 kB | ✓ |
Client Pages
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.js | 2.94 kB | 2.94 kB | ✓ |
_app.js gzip | 1.33 kB | 1.33 kB | ✓ |
_error.js | 10.4 kB | 10.4 kB | ✓ |
_error.js gzip | 4.07 kB | 4.07 kB | ✓ |
hooks.js | 1.44 kB | 1.44 kB | ✓ |
hooks.js gzip | 779 B | 779 B | ✓ |
index.js | 318 B | 318 B | ✓ |
index.js gzip | 222 B | 222 B | ✓ |
link.js | 6.77 kB | 6.77 kB | ✓ |
link.js gzip | 2.89 kB | 2.89 kB | ✓ |
routerDirect.js | 411 B | 411 B | ✓ |
routerDirect.js gzip | 283 B | 283 B | ✓ |
withRouter.js | 421 B | 421 B | ✓ |
withRouter.js gzip | 282 B | 282 B | ✓ |
Overall change | 22.7 kB | 22.7 kB | ✓ |
Client Pages Modern
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_app.module.js | 1.54 kB | 1.54 kB | ✓ |
_app.module.js gzip | 757 B | 757 B | ✓ |
_error.module.js | 7.35 kB | 7.35 kB | ✓ |
_error.module.js gzip | 3.06 kB | 3.06 kB | ✓ |
hooks.module.js | 651 B | 651 B | ✓ |
hooks.module.js gzip | 371 B | 371 B | ✓ |
index.module.js | 276 B | 276 B | ✓ |
index.module.js gzip | 212 B | 212 B | ✓ |
link.module.js | 5.45 kB | 5.45 kB | ✓ |
link.module.js gzip | 2.46 kB | 2.46 kB | ✓ |
routerDirect.module.js | 383 B | 383 B | ✓ |
routerDirect..dule.js gzip | 273 B | 273 B | ✓ |
withRouter.module.js | 394 B | 394 B | ✓ |
withRouter.m..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 16 kB | 16 kB | ✓ |
Client Build Manifests
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_buildManifest.js | 81 B | 81 B | ✓ |
_buildManifest.js gzip | 61 B | 61 B | ✓ |
_buildManifest.module.js | 81 B | 81 B | ✓ |
_buildManife..dule.js gzip | 61 B | 61 B | ✓ |
Overall change | 162 B | 162 B | ✓ |
Serverless bundles
zeit/next.js canary | Timer/next.js feature/css-modules | Change | |
---|---|---|---|
_error.js | 281 kB | 281 kB | ✓ |
_error.js gzip | 74.8 kB | 74.8 kB | -1 B |
hooks.html | 4.19 kB | 4.19 kB | ✓ |
hooks.html gzip | 1.07 kB | 1.07 kB | ✓ |
index.js | 281 kB | 281 kB | ✓ |
index.js gzip | 75.1 kB | 75.1 kB | -1 B |
link.js | 289 kB | 289 kB | ✓ |
link.js gzip | 77.1 kB | 77.1 kB | ✓ |
routerDirect.js | 282 kB | 282 kB | ✓ |
routerDirect.js gzip | 75.2 kB | 75.2 kB | -1 B |
withRouter.js | 282 kB | 282 kB | ✓ |
withRouter.js gzip | 75.3 kB | 75.3 kB | ✓ |
Overall change | 1.42 MB | 1.42 MB | ✓ |
Commit: 871ecb8
|
The convention will be |
Thanks @timneutkens for answer. |
This pull request introduces first-class support for CSS Modules using the
filename.module.css
convention.Closes #9477