hugo
hugo copied to clipboard
Add js.Build produced assets to /resources directory
Currently it seems the files produced by js.Build
are not saved in the /resources
dir alongside the files produced by the resources.*
methods.
It's not terrible news as js.Build
being super fast, it can be included in any environment build, but I wonder if at some point, the js.Build
files could not be treated as any other processed resources (committed to the repo etc...)
The current logic is that we write only the stuff for the transformations that may not be available on Hugo. Originally this was ToCSS
(requires the extended version), but I suspect this also applies to `PostCSS´.
You are right, it could be situations where it would be nice to have a build that was not connected to NPM in any way, but this needs a little thinking.
This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master
branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.
This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.