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

Don't populate disabled plugins in the generated tree #151

Open
chandlerc opened this issue Apr 25, 2023 · 1 comment
Open

Don't populate disabled plugins in the generated tree #151

chandlerc opened this issue Apr 25, 2023 · 1 comment

Comments

@chandlerc
Copy link

Currently, even when I disable the default plugins and enable a selective subset, the generated tree includes all the files for the plugins, for example all the CSS files for highlight.js that I don't actually use.

It'd be nice if there was a way to suppress this.

@chandlerc
Copy link
Author

I didn't really think it would work, but adding a section for [[module.mounts]] like:

[[mounts]]
  source = '/dev/null'
  target = 'static/highlight-js'

Seems to do what I want. This does seem a bit of a hack though, but it at least lets me zap the directories not needed from my deployment.

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