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

gopages: -source-link still generates dist/src files #52

Open
corani opened this issue May 18, 2023 · 1 comment
Open

gopages: -source-link still generates dist/src files #52

corani opened this issue May 18, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@corani
Copy link

corani commented May 18, 2023

When I specify -source-link to link directly to my github repo, gopages still generates the dist/src files even though it doesn't link to them. This blows up the dist folder from 3.5MB to 200MB for my modest-sized application.

I can of course delete the folder afterwards, but is there a way to avoid generating the source files in the first place?

@JohnStarich
Copy link
Owner

Sounds like a good idea. No sense generating something that isn't linked to!

I'd be open to a PR that skips source page generation when -source-link is provided. (If no one picks it up for a while, I may give it a try.)

@JohnStarich JohnStarich added the enhancement New feature or request label May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants