Hey docs team and all of our beloved contributors!!!!
We are getting close to merge webpack/webpack#next (v4) into master soon and we have drafted a WIP change log and this means we can start laying the ground work and documentation for our migration guide and other changes!
Listed is the link to the changelog:
https://github.com/webpack/webpack/wiki/Changelog-WIP
I'd give you ownership to break up the work however you see fit! Let me know if the core team can help in any way!!!
🔥🔥Lots of exciting changes!🔥🔥
I've got a [PR in core] that modifies a new feature (sideEffects in package.json) and I'd like to make the sister change in the docs. Can anyone point me in the right direction?
Hmmm, maybe in the __API__ section somewhere? Also target your PR to the next branch.
Thanks, @skipjack. I searched the next branch and didn't see anything. I may be the first to add it.
From #1795...
Create an upgrade path section with clearly defined, individual pages:
Each page should include any script helpers, and examples particular to it's version of the upgrade.
I like the note from from #1795 though in terms of actual wording/implementation, I think we should create a "Migrating" group under __Guides__ and title the articles simply v1 - v2, v2 - v3, etc. (or 1.x.x to 2.x.x).
Here is the first issue with a set of migration diffs. I think this is something we can run with?
@skipjack, I've been starting to make a bunch of videos that are going to hopefully be embeddable into our documentation. I'm not sure where I can start to organize them. Would it work best to dump into a standalone issue?
I like the note from from #1795 though in terms of actual wording/implementation, I think we should create a "Migrating" group under Guides and title the articles simply v1 - v2, v2 - v3, etc. (or 1.x.x to 2.x.x).
Has this already landed in next branch? If not, I will create an issue so that first time contributor can tackle just this work (creating the group).
@jeremenichelli @TheLarkInn here's the start of the list of todos as I understand it:
tapable interface and hooks (#1754)CommonsChunkPlugin removal and new splitChunks page (#1863)minimize configuration optsgroup within __Guides__ProfilingPlugin (#1830)@EugeneHlushko can you share some of the things you tackled? Once we get those, I'll move this list to the top-level comment so it's more visible and we can continue updating it.
Perfect, thanks @EugeneHlushko. Let us / @jeremenichelli know if there's anything else you notice that is missing from this list (whether it's already landed in next or needs to).
@jeremenichelli so you're thinking about closing this ticket and starting a new issue or pr that lists these out at the top? I think that makes sense to keep things clean.
No closing it @skipjack, leave this one for Migration, and creating one to track all v4 Docs. Just redirecting and gardening directions so they don't derail and it's easier to track progress on docs 😊
Makes sense, then maybe we re-title and tag it so it's clear it's specific to writing the migration guide.
Yeap, sounds good.
any updates in providing webpack 4 documentation
@nikunjg we are working on it 😊 you can see the progress in the conversations in the Issues and Pull requests and in the next branch where we are merging all the changes.
Sadly, we don't have the dates, but we hope to have it as soon as possible. Let us know if you would like to collaborate.
@jeremenichelli, that means documentation provided in the link https://webpack.js.org/guides/asset-management/ is for webpack 3. if yes, Should I use webpack 3 then?
Particularly for that section, I don't any issues with webpack v4 besides possible issues in the loaders mention there. I suggest you to go to the loader repository and see if it has been updated to work with v4.
Is there documentation for optimization section?
I'm upgrading an app to the 4.5 version from 3.11, and after a day I can say that a big chunk of the documentation is outdated or missing. Looks like #0CJS turned out to be #0DJS.
¯\_(ツ)_/¯
[update] Now rereading all blog posts: some good info is there.
No wonder you have such a bad reputation if you keep pulling stunts like these.
@the-spyke Documentation for the options available for the optimization field seems to be available under the SplitChunksPlugin, here:
Most helpful comment
Create an upgrade path section with clearly defined, individual pages:
Each page should include any script helpers, and examples particular to it's version of the upgrade.