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

Remove __NEXT_REPLACE__BUILD_ID__ workaround #8445

Merged
merged 1 commit into from
Aug 20, 2019

Conversation

Timer
Copy link
Member

@Timer Timer commented Aug 20, 2019

We no longer need this because we don't run terser on serverless bundles.

On a mission to 🚮 code.


Closes #8436

We no longer need this because we don't run terser on serverless bundles.

---

Closes vercel#8436
@Timer Timer added this to the 9.0.5 milestone Aug 20, 2019
@ijjk
Copy link
Member

ijjk commented Aug 20, 2019

Stats from current PR

Default Server Mode (Decrease detected ✓)
General Overall decrease ✓
zeit/next.js canary Timer/next.js remove-build-id-replace Change
buildDuration 23.6s 24.1s ⚠️ +559ms
nodeModulesSize 41.2 MB 41.2 MB -2.88 kB
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js remove-build-id-replace Change
main-HASH.js 18.1 kB 18.1 kB
main-HASH.js gzip 6.63 kB 6.63 kB
webpack-HASH.js 1.53 kB 1.53 kB
webpack-HASH.js gzip 746 B 746 B
Overall change
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js remove-build-id-replace Change
main-HASH.module.js 16.5 kB 16.5 kB
main-HASH.module.js gzip 6.36 kB 6.36 kB
webpack-HASH.module.js 1.53 kB 1.53 kB
webpack-HASH.module.js gzip 746 B 746 B
Overall change
Client Pages
zeit/next.js canary Timer/next.js remove-build-id-replace Change
_app.js 1.9 kB 1.9 kB
_app.js gzip 908 B 908 B
_error.js 12.1 kB 12.1 kB
_error.js gzip 4.76 kB 4.76 kB
hooks.js 12.7 kB 12.7 kB
hooks.js gzip 4.81 kB 4.81 kB
index.js 343 B 343 B
index.js gzip 237 B 237 B
link.js 8.14 kB 8.14 kB
link.js gzip 3.49 kB 3.49 kB
routerDirect.js 433 B 433 B
routerDirect.js gzip 296 B 296 B
withRouter.js 444 B 444 B
withRouter.js gzip 294 B 294 B
Overall change
Client Pages Modern
zeit/next.js canary Timer/next.js remove-build-id-replace Change
_app.module.js 1.79 kB 1.79 kB
_app.module.js gzip 867 B 867 B
_error.module.js 23.3 kB 23.3 kB
_error.module.js gzip 8.62 kB 8.62 kB
hooks.module.js 1.55 kB 1.55 kB
hooks.module.js gzip 804 B 804 B
index.module.js 319 B 319 B
index.module.js gzip 238 B 238 B
link.module.js 8.52 kB 8.52 kB
link.module.js gzip 3.68 kB 3.68 kB
routerDirect.module.js 419 B 419 B
routerDirect.module.js gzip 294 B 294 B
withRouter.module.js 429 B 429 B
withRouter.module.js gzip 293 B 293 B
Overall change
Client Build Manifests
zeit/next.js canary Timer/next.js remove-build-id-replace Change
_buildManifest.js 81 B 81 B
_buildManifest.js gzip 61 B 61 B
_buildManifest.module.js 519 B 519 B
_buildManifest.module.js gzip 312 B 313 B ⚠️ +1 B
Overall change
Fetched pages
zeit/next.js canary Timer/next.js remove-build-id-replace Change
link 3.75 kB 3.75 kB
link gzip 963 B 963 B
index 3.69 kB 3.69 kB
index gzip 956 B 956 B
withRouter 3.75 kB 3.75 kB
withRouter gzip 950 B 950 B
Overall change

Serverless Mode (Increase detected ⚠️)
General Overall decrease ✓
zeit/next.js canary Timer/next.js remove-build-id-replace Change
buildDuration 25.9s 26.6s ⚠️ +641ms
nodeModulesSize 41.2 MB 41.2 MB -2.88 kB
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js remove-build-id-replace Change
main-HASH.js 18.1 kB 18.1 kB
main-HASH.js gzip 6.63 kB 6.63 kB
webpack-HASH.js 1.53 kB 1.53 kB
webpack-HASH.js gzip 746 B 746 B
Overall change
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js remove-build-id-replace Change
main-HASH.module.js 16.5 kB 16.5 kB
main-HASH.module.js gzip 6.36 kB 6.36 kB
webpack-HASH.module.js 1.53 kB 1.53 kB
webpack-HASH.module.js gzip 746 B 746 B
Overall change
Client Pages
zeit/next.js canary Timer/next.js remove-build-id-replace Change
_app.js 1.9 kB 1.9 kB
_app.js gzip 908 B 908 B
_error.js 12.1 kB 12.1 kB
_error.js gzip 4.76 kB 4.76 kB
hooks.js 12.7 kB 12.7 kB
hooks.js gzip 4.81 kB 4.81 kB
index.js 343 B 343 B
index.js gzip 237 B 237 B
link.js 8.14 kB 8.14 kB
link.js gzip 3.49 kB 3.49 kB
routerDirect.js 433 B 433 B
routerDirect.js gzip 296 B 296 B
withRouter.js 444 B 444 B
withRouter.js gzip 294 B 294 B
Overall change
Client Pages Modern
zeit/next.js canary Timer/next.js remove-build-id-replace Change
_app.module.js 1.79 kB 1.79 kB
_app.module.js gzip 867 B 867 B
_error.module.js 23.3 kB 23.3 kB
_error.module.js gzip 8.62 kB 8.62 kB
hooks.module.js 1.55 kB 1.55 kB
hooks.module.js gzip 804 B 804 B
index.module.js 319 B 319 B
index.module.js gzip 238 B 238 B
link.module.js 8.52 kB 8.52 kB
link.module.js gzip 3.68 kB 3.68 kB
routerDirect.module.js 419 B 419 B
routerDirect.module.js gzip 294 B 294 B
withRouter.module.js 429 B 429 B
withRouter.module.js gzip 293 B 293 B
Overall change
Client Build Manifests Overall decrease ✓
zeit/next.js canary Timer/next.js remove-build-id-replace Change
_buildManifest.js 81 B 81 B
_buildManifest.js gzip 61 B 61 B
_buildManifest.module.js 519 B 518 B -1 B
_buildManifest.module.js gzip 311 B 309 B -2 B
Overall change -1 B
Serverless bundles Overall increase ⚠️
zeit/next.js canary Timer/next.js remove-build-id-replace Change
_error.js 248 kB 248 kB -8 B
_error.js gzip 66.5 kB 66.2 kB -257 B
hooks.html 3.81 kB 3.81 kB -3 B
hooks.html gzip 979 B 976 B -3 B
index.js 248 kB 248 kB ⚠️ +172 B
index.js gzip 66.6 kB 66.6 kB ⚠️ +33 B
link.js 255 kB 256 kB ⚠️ +172 B
link.js gzip 68.9 kB 68.8 kB -77 B
routerDirect.js 249 kB 249 kB ⚠️ +172 B
routerDirect.js gzip 66.7 kB 66.6 kB -58 B
withRouter.js 249 kB 249 kB ⚠️ +172 B
withRouter.js gzip 66.7 kB 66.7 kB -98 B
Overall change ⚠️ +677 B

@Timer Timer merged commit 5ad0ea8 into vercel:canary Aug 20, 2019
@Timer Timer deleted the remove-build-id-replace branch August 20, 2019 16:38
@vercel vercel locked as resolved and limited conversation to collaborators Feb 1, 2022
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.

Remove __NEXT_REPLACE__BUILD_ID__ workaround
2 participants