Skip to content
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

Add auto static/dynamic #7293

Merged
merged 39 commits into from
May 22, 2019
Merged

Add auto static/dynamic #7293

merged 39 commits into from
May 22, 2019

Conversation

ijjk
Copy link
Member

@ijjk ijjk commented May 10, 2019

This adds the start of automatically turning pages without dynamic content into static files.

Closes: #7355

@github-actions
Copy link
Contributor

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js add/auto-static Change
Build Duration 15.8s 15.6s -218ms
node_modules Size 40 MB 40 MB ⚠️ +11 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.3 kB -1 B
Client _app Size 2.54 kB 2.54 kB
Client _app gzip Size 1.05 kB 1.05 kB
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.11 kB -1 B
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB -1 B
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.34 kB 1.36 kB ⚠️ +18 B
Build Dir Size 801 kB 759 kB -42.4 kB
Click to expand serverless stats
zeit/next.js canary ijjk/next.js add/auto-static Change
Build Duration 16.8s 17.7s ⚠️ +954ms
node_modules Size 40 MB 40 MB ⚠️ +11 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.3 kB
Client _app Size 2.54 kB 2.54 kB
Client _app gzip Size 1.05 kB 1.05 kB
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.12 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Serverless pages/link Size 342 kB Error getting size NaN
Serverless pages/link gzip Size 88.7 kB Error getting size NaN
Serverless pages/index Size 333 kB Error getting size NaN
Serverless pages/index gzip Size 86.3 kB Error getting size NaN
Serverless pages/_error Size 334 kB 334 kB ⚠️ +419 B
Serverless pages/_error gzip Size 86.1 kB 86.1 kB ⚠️ +80 B
Serverless pages/routerDirect Size 333 kB Error getting size NaN
Serverless pages/routerDirect gzip Size 86.3 kB Error getting size NaN
Serverless pages/withRouter Size 333 kB Error getting size NaN
Serverless pages/withRouter gzip Size 86.4 kB Error getting size NaN
Build Dir Size 2.37 MB 1.03 MB -1.33 MB

@ijjk ijjk requested a review from timneutkens May 13, 2019 17:53
@github-actions
Copy link
Contributor

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js add/auto-static Change
Build Duration 15.1s 15.2s ⚠️ +102ms
node_modules Size 40 MB 40 MB ⚠️ +11.7 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.3 kB
Client _app Size 2.54 kB 2.54 kB
Client _app gzip Size 1.05 kB 1.05 kB
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.12 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.34 kB 1.36 kB ⚠️ +18 B
Build Dir Size 801 kB 759 kB -42.4 kB
Click to expand serverless stats
zeit/next.js canary ijjk/next.js add/auto-static Change
Build Duration 16.3s 17.1s ⚠️ +736ms
node_modules Size 40 MB 40 MB ⚠️ +11.7 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.3 kB
Client _app Size 2.54 kB 2.54 kB
Client _app gzip Size 1.05 kB 1.05 kB
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.12 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Serverless pages/link Size 342 kB Error getting size NaN
Serverless pages/link gzip Size 88.7 kB Error getting size NaN
Serverless pages/index Size 333 kB Error getting size NaN
Serverless pages/index gzip Size 86.3 kB Error getting size NaN
Serverless pages/_error Size 334 kB 334 kB ⚠️ +419 B
Serverless pages/_error gzip Size 86.1 kB 86.1 kB ⚠️ +79 B
Serverless pages/routerDirect Size 333 kB Error getting size NaN
Serverless pages/routerDirect gzip Size 86.3 kB Error getting size NaN
Serverless pages/withRouter Size 333 kB Error getting size NaN
Serverless pages/withRouter gzip Size 86.4 kB Error getting size NaN
Build Dir Size 2.37 MB 1.03 MB -1.33 MB

@github-actions
Copy link
Contributor

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js add/auto-static Change
Build Duration 15.8s 15.9s ⚠️ +195ms
node_modules Size 40 MB 40 MB ⚠️ +11.7 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.3 kB
Client _app Size 2.54 kB 2.54 kB
Client _app gzip Size 1.05 kB 1.05 kB
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.12 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.34 kB 1.36 kB ⚠️ +18 B
Build Dir Size 801 kB 759 kB -42.4 kB
Click to expand serverless stats
zeit/next.js canary ijjk/next.js add/auto-static Change
Build Duration 18.3s 18s -307ms
node_modules Size 40 MB 40 MB ⚠️ +11.7 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.3 kB
Client _app Size 2.54 kB 2.54 kB
Client _app gzip Size 1.05 kB 1.05 kB
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.12 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Serverless pages/link Size 342 kB Error getting size NaN
Serverless pages/link gzip Size 88.7 kB Error getting size NaN
Serverless pages/index Size 333 kB Error getting size NaN
Serverless pages/index gzip Size 86.3 kB Error getting size NaN
Serverless pages/_error Size 334 kB 334 kB ⚠️ +419 B
Serverless pages/_error gzip Size 86.1 kB 86.1 kB ⚠️ +79 B
Serverless pages/routerDirect Size 333 kB Error getting size NaN
Serverless pages/routerDirect gzip Size 86.3 kB Error getting size NaN
Serverless pages/withRouter Size 333 kB Error getting size NaN
Serverless pages/withRouter gzip Size 86.4 kB Error getting size NaN
Build Dir Size 2.37 MB 1.03 MB -1.33 MB

@github-actions
Copy link
Contributor

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js add/auto-static Change
Build Duration 14.6s 14.1s -472ms
node_modules Size 40.1 MB 40.2 MB ⚠️ +16.6 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB ⚠️ +35 B
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.4 kB ⚠️ +14 B
Client _app Size 2.54 kB 2.57 kB ⚠️ +35 B
Client _app gzip Size 1.05 kB 1.06 kB ⚠️ +14 B
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.12 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.34 kB 1.36 kB ⚠️ +18 B
Build Dir Size 801 kB 759 kB -42.5 kB
Click to expand serverless stats
zeit/next.js canary ijjk/next.js add/auto-static Change
Build Duration 16.1s 15.9s -244ms
node_modules Size 40.1 MB 40.2 MB ⚠️ +16.6 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB ⚠️ +35 B
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.4 kB ⚠️ +14 B
Client _app Size 2.54 kB 2.57 kB ⚠️ +35 B
Client _app gzip Size 1.05 kB 1.06 kB ⚠️ +14 B
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.12 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Serverless pages/link Size 342 kB Error getting size NaN
Serverless pages/link gzip Size 88.7 kB Error getting size NaN
Serverless pages/index Size 333 kB Error getting size NaN
Serverless pages/index gzip Size 86.3 kB Error getting size NaN
Serverless pages/_error Size 334 kB 335 kB ⚠️ +958 B
Serverless pages/_error gzip Size 86.1 kB 86.2 kB ⚠️ +178 B
Serverless pages/routerDirect Size 333 kB Error getting size NaN
Serverless pages/routerDirect gzip Size 86.3 kB Error getting size NaN
Serverless pages/withRouter Size 333 kB Error getting size NaN
Serverless pages/withRouter gzip Size 86.4 kB Error getting size NaN
Build Dir Size 2.37 MB 1.03 MB -1.33 MB

@github-actions
Copy link
Contributor

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js add/auto-static Change
Build Duration 16s 16.3s ⚠️ +305ms
node_modules Size 40.1 MB 40.2 MB ⚠️ +16.6 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB ⚠️ +35 B
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.4 kB ⚠️ +14 B
Client _app Size 2.54 kB 2.57 kB ⚠️ +35 B
Client _app gzip Size 1.05 kB 1.06 kB ⚠️ +14 B
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.12 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.34 kB 1.36 kB ⚠️ +18 B
Build Dir Size 801 kB 759 kB -42.5 kB
Click to expand serverless stats
zeit/next.js canary ijjk/next.js add/auto-static Change
Build Duration 17.5s 17.2s -253ms
node_modules Size 40.1 MB 40.2 MB ⚠️ +16.6 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB ⚠️ +35 B
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.4 kB ⚠️ +15 B
Client _app Size 2.54 kB 2.57 kB ⚠️ +35 B
Client _app gzip Size 1.05 kB 1.06 kB ⚠️ +14 B
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.11 kB 3.12 kB ⚠️ +1 B
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB ⚠️ +1 B
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Serverless pages/link Size 342 kB Error getting size NaN
Serverless pages/link gzip Size 88.7 kB Error getting size NaN
Serverless pages/index Size 333 kB Error getting size NaN
Serverless pages/index gzip Size 86.3 kB Error getting size NaN
Serverless pages/_error Size 334 kB 335 kB ⚠️ +958 B
Serverless pages/_error gzip Size 86.1 kB 86.2 kB ⚠️ +178 B
Serverless pages/routerDirect Size 333 kB Error getting size NaN
Serverless pages/routerDirect gzip Size 86.3 kB Error getting size NaN
Serverless pages/withRouter Size 333 kB Error getting size NaN
Serverless pages/withRouter gzip Size 86.4 kB Error getting size NaN
Build Dir Size 2.37 MB 1.03 MB -1.33 MB

@github-actions
Copy link
Contributor

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js add/auto-static Change
Build Duration 14.3s 14.3s -77ms
node_modules Size 40.1 MB 40.2 MB ⚠️ +16.6 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB ⚠️ +35 B
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.4 kB ⚠️ +14 B
Client _app Size 2.54 kB 2.57 kB ⚠️ +35 B
Client _app gzip Size 1.05 kB 1.06 kB ⚠️ +14 B
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.12 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.34 kB 1.36 kB ⚠️ +18 B
Build Dir Size 801 kB 759 kB -42.5 kB
Click to expand serverless stats
zeit/next.js canary ijjk/next.js add/auto-static Change
Build Duration 15.4s 15.5s ⚠️ +111ms
node_modules Size 40.1 MB 40.2 MB ⚠️ +16.6 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB ⚠️ +35 B
Total Bundle (main, webpack, commons) gzip Size 68.3 kB 68.4 kB ⚠️ +14 B
Client _app Size 2.54 kB 2.57 kB ⚠️ +35 B
Client _app gzip Size 1.05 kB 1.06 kB ⚠️ +14 B
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.12 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.4 kB 59.4 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Serverless pages/link Size 342 kB Error getting size NaN
Serverless pages/link gzip Size 88.7 kB Error getting size NaN
Serverless pages/index Size 333 kB Error getting size NaN
Serverless pages/index gzip Size 86.3 kB Error getting size NaN
Serverless pages/_error Size 334 kB 335 kB ⚠️ +958 B
Serverless pages/_error gzip Size 86.1 kB 86.2 kB ⚠️ +177 B
Serverless pages/routerDirect Size 333 kB Error getting size NaN
Serverless pages/routerDirect gzip Size 86.3 kB Error getting size NaN
Serverless pages/withRouter Size 333 kB Error getting size NaN
Serverless pages/withRouter gzip Size 86.4 kB Error getting size NaN
Build Dir Size 2.37 MB 1.03 MB -1.33 MB

@github-actions
Copy link
Contributor

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js add/auto-static Change
Build Duration 15.5s 16s ⚠️ +528ms
node_modules Size 40.2 MB 40.2 MB ⚠️ +16.6 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB ⚠️ +35 B
Total Bundle (main, webpack, commons) gzip Size 68.4 kB 68.4 kB ⚠️ +14 B
Client _app Size 2.54 kB 2.57 kB ⚠️ +35 B
Client _app gzip Size 1.05 kB 1.06 kB ⚠️ +14 B
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.12 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.5 kB 59.5 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.34 kB 1.36 kB ⚠️ +18 B
Build Dir Size 801 kB 759 kB -42.5 kB
Click to expand serverless stats
zeit/next.js canary ijjk/next.js add/auto-static Change
Build Duration 16.7s 16.5s -207ms
node_modules Size 40.2 MB 40.2 MB ⚠️ +16.6 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB ⚠️ +35 B
Total Bundle (main, webpack, commons) gzip Size 68.4 kB 68.4 kB ⚠️ +14 B
Client _app Size 2.54 kB 2.57 kB ⚠️ +35 B
Client _app gzip Size 1.05 kB 1.06 kB ⚠️ +14 B
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.12 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.5 kB 59.5 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Serverless pages/link Size 343 kB Error getting size NaN
Serverless pages/link gzip Size 88.9 kB Error getting size NaN
Serverless pages/index Size 333 kB Error getting size NaN
Serverless pages/index gzip Size 86.4 kB Error getting size NaN
Serverless pages/_error Size 334 kB 335 kB ⚠️ +958 B
Serverless pages/_error gzip Size 86.2 kB 86.4 kB ⚠️ +180 B
Serverless pages/routerDirect Size 334 kB Error getting size NaN
Serverless pages/routerDirect gzip Size 86.5 kB Error getting size NaN
Serverless pages/withRouter Size 334 kB Error getting size NaN
Serverless pages/withRouter gzip Size 86.6 kB Error getting size NaN
Build Dir Size 2.37 MB 1.04 MB -1.33 MB

@github-actions
Copy link
Contributor

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js add/auto-static Change
Build Duration 14.5s 14.9s ⚠️ +413ms
node_modules Size 40.2 MB 40.2 MB ⚠️ +22 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB ⚠️ +35 B
Total Bundle (main, webpack, commons) gzip Size 68.4 kB 68.4 kB ⚠️ +14 B
Client _app Size 2.54 kB 2.57 kB ⚠️ +35 B
Client _app gzip Size 1.05 kB 1.06 kB ⚠️ +14 B
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.12 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.5 kB 59.5 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.34 kB 1.36 kB ⚠️ +18 B
Build Dir Size 801 kB 759 kB -42.5 kB
Click to expand serverless stats
zeit/next.js canary ijjk/next.js add/auto-static Change
Build Duration 15.6s 15.6s -6ms
node_modules Size 40.2 MB 40.2 MB ⚠️ +22 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB ⚠️ +35 B
Total Bundle (main, webpack, commons) gzip Size 68.4 kB 68.4 kB ⚠️ +14 B
Client _app Size 2.54 kB 2.57 kB ⚠️ +35 B
Client _app gzip Size 1.05 kB 1.06 kB ⚠️ +14 B
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.11 kB 3.11 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.5 kB 59.5 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Serverless pages/link Size 343 kB Error getting size NaN
Serverless pages/link gzip Size 88.9 kB Error getting size NaN
Serverless pages/index Size 333 kB Error getting size NaN
Serverless pages/index gzip Size 86.4 kB Error getting size NaN
Serverless pages/_error Size 334 kB 335 kB ⚠️ +958 B
Serverless pages/_error gzip Size 86.2 kB 86.4 kB ⚠️ +179 B
Serverless pages/routerDirect Size 334 kB Error getting size NaN
Serverless pages/routerDirect gzip Size 86.5 kB Error getting size NaN
Serverless pages/withRouter Size 334 kB Error getting size NaN
Serverless pages/withRouter gzip Size 86.6 kB Error getting size NaN
Build Dir Size 2.37 MB 1.04 MB -1.33 MB

@github-actions
Copy link
Contributor

Stats from current PR

Click to expand stats
zeit/next.js canary ijjk/next.js add/auto-static Change
Build Duration 15.7s 15.8s ⚠️ +114ms
node_modules Size 40.2 MB 40.2 MB ⚠️ +22.4 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB ⚠️ +35 B
Total Bundle (main, webpack, commons) gzip Size 68.4 kB 68.4 kB ⚠️ +14 B
Client _app Size 2.54 kB 2.57 kB ⚠️ +35 B
Client _app gzip Size 1.05 kB 1.06 kB ⚠️ +14 B
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.12 kB
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.5 kB 59.5 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Base Rendered Size 1.34 kB 1.34 kB
Build Dir Size 801 kB 801 kB -32 B
Click to expand serverless stats
zeit/next.js canary ijjk/next.js add/auto-static Change
Build Duration 16.8s 16.5s -251ms
node_modules Size 40.2 MB 40.2 MB ⚠️ +22.4 kB
Total Bundle (main, webpack, commons) Size 209 kB 209 kB ⚠️ +35 B
Total Bundle (main, webpack, commons) gzip Size 68.4 kB 68.4 kB ⚠️ +13 B
Client _app Size 2.54 kB 2.57 kB ⚠️ +35 B
Client _app gzip Size 1.05 kB 1.06 kB ⚠️ +14 B
Client _error Size 8.19 kB 8.19 kB
Client _error gzip Size 3.12 kB 3.11 kB -1 B
Client pages/index Size 288 B 288 B
Client pages/index gzip Size 222 B 222 B
Client pages/link Size 4.83 kB 4.83 kB
Client pages/link gzip Size 2.11 kB 2.11 kB
Client pages/routerDirect Size 411 B 411 B
Client pages/routerDirect gzip Size 296 B 296 B
Client pages/withRouter Size 393 B 393 B
Client pages/withRouter gzip Size 280 B 280 B
Client main Size 23.3 kB 23.3 kB
Client main gzip Size 7.63 kB 7.63 kB -1 B
Client commons Size 183 kB 183 kB
Client commons gzip Size 59.5 kB 59.5 kB
Client webpack Size 1.49 kB 1.49 kB
Client webpack gzip Size 769 B 769 B
Serverless pages/link Size 343 kB 344 kB ⚠️ +1.83 kB
Serverless pages/link gzip Size 88.9 kB 89.1 kB ⚠️ +191 B
Serverless pages/index Size 333 kB 335 kB ⚠️ +1.82 kB
Serverless pages/index gzip Size 86.4 kB 86.6 kB ⚠️ +191 B
Serverless pages/_error Size 334 kB 335 kB ⚠️ +958 B
Serverless pages/_error gzip Size 86.2 kB 86.4 kB ⚠️ +179 B
Serverless pages/routerDirect Size 334 kB 336 kB ⚠️ +1.88 kB
Serverless pages/routerDirect gzip Size 86.5 kB 86.7 kB ⚠️ +211 B
Serverless pages/withRouter Size 334 kB 336 kB ⚠️ +1.87 kB
Serverless pages/withRouter gzip Size 86.6 kB 86.8 kB ⚠️ +189 B
Build Dir Size 2.37 MB 2.38 MB ⚠️ +8.65 kB

Copy link
Member

@Timer Timer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm comfortable merging this because it's behind a feature flag. 🙏

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[RFC] Rendering in Next.js (SSR, Pre-rendering, CSR, SPA)
3 participants