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

Consistency between production build and development server #1

Open
HunteRoi opened this issue Jun 2, 2024 · 1 comment
Open

Consistency between production build and development server #1

HunteRoi opened this issue Jun 2, 2024 · 1 comment

Comments

@HunteRoi
Copy link

HunteRoi commented Jun 2, 2024

Hey there @Arsero !

This plugin is quite interesting! I find it very useful but I think there's a discrepancy between the production build (building the app then serving) and the development server (starting the app in development mode).

I find it very difficult that the plugin makes it two separate environments needing different setups when the goal is to pick up relationships between files and displaying those in a graph.

Would it be possible to find a way so that when executing start and build, it works the same way?

@HunteRoi
Copy link
Author

HunteRoi commented Jun 2, 2024

path.join('build', 'docusaurus-graph.json'),

Also it seems that you hardcoded the build folder but I am pretty sure we can overwrite that in docusaurus, which would ultimately break your package, right?

Source: https://docusaurus.io/docs/cli#docusaurus-build-sitedir

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

No branches or pull requests

1 participant