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

Test legacy Sass support with Webpack 5 #21236

Closed

Conversation

sumanthratna
Copy link
Contributor

@sumanthratna sumanthratna commented Jan 16, 2021

at some point, legacy Sass was fixed to work with Webpack 5 but a test for this was never added. This patch enables the test for Webpack 5 and legacy Sass

@ijjk
Copy link
Member

ijjk commented Jan 16, 2021

Stats from current PR

Default Server Mode (Decrease detected ✓)
General
vercel/next.js canary sumanthratna/next.js tests/legacy-sass-webpack-5 Change
buildDuration 9.4s 9.7s ⚠️ +210ms
nodeModulesSize 77.5 MB 77.5 MB
Page Load Tests Overall decrease ⚠️
vercel/next.js canary sumanthratna/next.js tests/legacy-sass-webpack-5 Change
/ failed reqs 0 0
/ total time (seconds) 1.92 1.989 ⚠️ +0.07
/ avg req/sec 1302.16 1257.18 ⚠️ -44.98
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.164 1.229 ⚠️ +0.07
/error-in-render avg req/sec 2147.96 2034.69 ⚠️ -113.27
Client Bundles (main, webpack, commons)
vercel/next.js canary sumanthratna/next.js tests/legacy-sass-webpack-5 Change
677f882d2ed8..43e3.js gzip 13.1 kB 13.1 kB
framework.HASH.js gzip 39 kB 39 kB
main-712e20f..aa05.js gzip 6.63 kB 6.63 kB
webpack-50be..df5b.js gzip 751 B 751 B
Overall change 59.4 kB 59.4 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary sumanthratna/next.js tests/legacy-sass-webpack-5 Change
polyfills-af..9390.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary sumanthratna/next.js tests/legacy-sass-webpack-5 Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
hooks-c71ae4..70cd.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-7faf09b..eba4.js gzip 1.64 kB 1.64 kB
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
Overall change 8.09 kB 8.09 kB
Client Build Manifests
vercel/next.js canary sumanthratna/next.js tests/legacy-sass-webpack-5 Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Rendered Page Sizes
vercel/next.js canary sumanthratna/next.js tests/legacy-sass-webpack-5 Change
index.html gzip 615 B 615 B
link.html gzip 620 B 620 B
withRouter.html gzip 608 B 608 B
Overall change 1.84 kB 1.84 kB

Serverless Mode
General
vercel/next.js canary sumanthratna/next.js tests/legacy-sass-webpack-5 Change
buildDuration 11.2s 11s -209ms
nodeModulesSize 77.5 MB 77.5 MB
Client Bundles (main, webpack, commons)
vercel/next.js canary sumanthratna/next.js tests/legacy-sass-webpack-5 Change
677f882d2ed8..43e3.js gzip 13.1 kB 13.1 kB
framework.HASH.js gzip 39 kB 39 kB
main-712e20f..aa05.js gzip 6.63 kB 6.63 kB
webpack-50be..df5b.js gzip 751 B 751 B
Overall change 59.4 kB 59.4 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary sumanthratna/next.js tests/legacy-sass-webpack-5 Change
polyfills-af..9390.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary sumanthratna/next.js tests/legacy-sass-webpack-5 Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
hooks-c71ae4..70cd.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-7faf09b..eba4.js gzip 1.64 kB 1.64 kB
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
Overall change 8.09 kB 8.09 kB
Client Build Manifests
vercel/next.js canary sumanthratna/next.js tests/legacy-sass-webpack-5 Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Serverless bundles
vercel/next.js canary sumanthratna/next.js tests/legacy-sass-webpack-5 Change
_error.js 1 MB 1 MB
404.html 2.67 kB 2.67 kB
hooks.html 1.92 kB 1.92 kB
index.js 1 MB 1 MB
link.js 1.06 MB 1.06 MB
routerDirect.js 1.05 MB 1.05 MB
withRouter.js 1.05 MB 1.05 MB
Overall change 5.18 MB 5.18 MB
Commit: c2a8b62

@sumanthratna sumanthratna marked this pull request as ready for review January 16, 2021 23:08
@sumanthratna sumanthratna changed the title [WIP] Legacy Sass support with Webpack 5 Legacy Sass support with Webpack 5 Jan 16, 2021
@sumanthratna sumanthratna changed the title Legacy Sass support with Webpack 5 Test legacy Sass support with Webpack 5 Jan 16, 2021
@timneutkens
Copy link
Member

As far as I'm aware it was not fixed 🤔

@sumanthratna
Copy link
Contributor Author

sumanthratna commented Jan 17, 2021

As far as I'm aware it was not fixed 🤔

whoops, I assumed it had been because tests were passing. @timneutkens Do you know why CI is passing for this PR? I checked the azure logs and I think that's a flaky test; it doesn't seem to be related to the test I changed

@timneutkens
Copy link
Member

timneutkens commented Jan 17, 2021

As far as I'm aware it was not fixed 🤔

whoops, I assumed it had been because tests were passing. @timneutkens Do you know why CI is passing for this PR? I checked the azure logs and I think that's a flaky test; it doesn't seem to be related to the test I changed

Probably because we're inlining webpack 4 and 5 now.

@timneutkens
Copy link
Member

Going to close this as it's indeed not fixed 🙏

@sumanthratna sumanthratna deleted the tests/legacy-sass-webpack-5 branch January 17, 2021 19:07
@vercel vercel locked as resolved and limited conversation to collaborators Jan 29, 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.

None yet

3 participants