facebook / docusaurus

Easy to maintain open source documentation websites.
https://docusaurus.io
MIT License
55.66k stars 8.34k forks source link

[v2] Emit asset manifests #3981

Closed RDIL closed 3 years ago

RDIL commented 3 years ago

🚀 Feature

It would be cool if either the core or an official plugin existed to generate asset manifests, like create react app does.

This allows for extensibility, as well as supporting some non-static forms of servers. Plus, it can help with debugging.

Have you read the Contributing Guidelines on issues?

yes

Motivation

I’m trying to link my infrastructure together, and if a manifest was emitted it would save a lot of backend logic to discover the files needing to be served.

Pitch

Either use the same webpack plugin as create-react-app, or spin up a simple solution that just emits a json file containing the needed content.

slorber commented 3 years ago

Is this closed by https://github.com/facebook/docusaurus/pull/4021 or should we emit a custom Docusaurus manifest?

RDIL commented 3 years ago

4021 adds what I need to complete a plugin with this, but I'll close it here.