GoogleChromeLabs / tooling.report

tooling.report a quick way to determine the best build tool for your next web project, or if tooling migration is worth it, or how to adopt a tool's best practice into your existing configuration and code base.
https://tooling.report
Apache License 2.0
847 stars 49 forks source link

update tests for webpack 5 #395

Closed sokra closed 3 years ago

sokra commented 3 years ago
surma commented 3 years ago

@sokra Thank you so much for whipping up an entire PR for Webpack 5. This is huge!

We are currently kinda heads down in the preparations for the Chrome Dev Summit 2020, so it will be a week or so before we get back to this. We were also previously discussing how we can keep both Webpack 4 and 5 available on tooling.report. But we’ll get back to that.

Again, thanks for putting in all this work!

sokra commented 3 years ago

We were also previously discussing how we can keep both Webpack 4 and 5 available on tooling.report. But we’ll get back to that.

I copied all existing webpack folders into a webpack-4 folder and the new webpack folder is now webpack 5. Once you have the infrastructure you can use the webpack-4 folder in addition.

developit commented 3 years ago

Apologies for the delay - I should be able to review this within the week!

pboling commented 3 years ago

Would be very useful to have this updated reference for Webpack 5 on https://bundlers.tooling.report/ - I fear if I hadn't checked the issue / pull request backlog for the project I may have made a different choice in a bundler. Looks like I am going to stick with webpack.

sokra commented 3 years ago

Anything I can help you with getting this reviewed?

developit commented 3 years ago

@sokra can you enable "Allow edits and access to secrets by maintainers" for your PR?

sokra commented 3 years ago

@sokra can you enable "Allow edits and access to secrets by maintainers" for your PR?

It's already enabled.

developit commented 3 years ago

I've skipped over all the webpack-4 tests since we agreed to simply remove them. There were no material changes when I diffed them against the webpack directories currently on the dev branch.

If it makes reviews easier we could delete those directories. For now I just ran this in DevTools to mark them as hidden (note: this will freeze the page for around 1 minute):

document.querySelectorAll('a[title*="/webpack-4/"]').forEach(n => n.parentNode.nextElementSibling.querySelector('input[type=checkbox]').click());
sokra commented 3 years ago

I've skipped over all the webpack-4 tests since we agreed to simply remove them. There were no material changes when I diffed them against the webpack directories currently on the dev branch.

ok. I removed the commit which copies them over.

jakearchibald commented 3 years ago

Other than the few comments I made, this looks good to go. Thanks @sokra for putting this PR together, some great changes in webpack 5.

developit commented 3 years ago

I'm pushing the merge button!

jakearchibald commented 3 years ago

Publishing to live now. It'll be up in a couple of mins.