Skip to content

feat(docs): add loaders and plugins index pages#153

Open
ryzrr wants to merge 2 commits into
mainfrom
feat/loaders-plugins-index
Open

feat(docs): add loaders and plugins index pages#153
ryzrr wants to merge 2 commits into
mainfrom
feat/loaders-plugins-index

Conversation

@ryzrr

@ryzrr ryzrr commented Jun 21, 2026

Copy link
Copy Markdown
Member

This adds the loaders and plugins index pages, so /docs/loaders and /docs/plugins finally point to real landing pages instead of dead links (the footer already linked to them). I copied the content over from webpack.js.org and fixed up the links: our own loaders/plugins point to their local pages, built-in plugins point to their API docs, and the third-party ones keep their npm/GitHub links.

This also unblocks the #TODO[/loaders] and #TODO[/plugins] markers in the guides from #147, since they now have somewhere to go.

@vercel

vercel Bot commented Jun 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
webpack-doc-kit Ready Ready Preview, Comment Jun 26, 2026 5:37pm

Request Review

@ryzrr

ryzrr commented Jun 21, 2026

Copy link
Copy Markdown
Member Author

also one thing - the API links use a hardcoded v5.x (same as the footer already does), so they're consistent for now. but after webpack 6 lands, these will need a quick find-n-replace, or better will be , a /docs/api/latest alias so we don't have to keep updating them every major version

@ryzrr ryzrr requested a review from avivkeller June 22, 2026 13:16
@avivkeller

Copy link
Copy Markdown
Member

This also unblocks the #TODO[/loaders] and #TODO[/plugins] markers in the guides from #147, since they now have somewhere to go.

Can you add them to those links?

@ryzrr

ryzrr commented Jun 22, 2026

Copy link
Copy Markdown
Member Author

Sure, will be adding those.

@ryzrr

ryzrr commented Jun 26, 2026

Copy link
Copy Markdown
Member Author

Sorry for the delay , i added those plugins and loaders pointing to the index , but there are some plugins like SplitChunksPlugin, DefinePlugin, etc but they exist as the output of the typedoc pipeline , the old anchors wouldnt resolve here if i point to the api pages , so what we should do here ? aany suggestions or should we point it to the API pages

Comment thread pages/docs/loaders/index.md Outdated
@ryzrr

ryzrr commented Jun 27, 2026

Copy link
Copy Markdown
Member Author

fixed the source from the frontmatter , also should we point the plugins mentioned above to the API docs or leave it as a TODO for now ?

| [`SvgChunkWebpackPlugin`](https://www.npmjs.com/package/svg-chunk-webpack-plugin) | Generate SVG sprites optimized by SVGO based on your entry point dependencies |
| [`MinimizerPlugin`](/docs/plugins/minimizer-webpack-plugin) | Uses Terser (or other) to minify the JS/CSS/HTML/JSON/etc in your project |

For more third-party plugins, see the list from [awesome-webpack](https://github.com/webpack-contrib/awesome-webpack#webpack-plugins).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Let's remove this line, we are still working on a new home for these

@avivkeller

Copy link
Copy Markdown
Member

I think we need to re-write these files from scratch, since they don't properly articulate what we want them to, that these directories are for first-party external plugins/loaders. I'll rewrite the files, unless you want to?

@ryzrr

ryzrr commented Jun 27, 2026

Copy link
Copy Markdown
Member Author

Sure , no problem I am open to both , you may write it or you can guide me over it , also should i close this PR then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants