hugo icon indicating copy to clipboard operation
hugo copied to clipboard

Add js.Build produced assets to /resources directory

Open regisphilibert opened this issue 3 years ago • 3 comments

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...)

regisphilibert avatar Dec 02 '20 19:12 regisphilibert

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.

bep avatar Dec 02 '20 20:12 bep

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.

github-actions[bot] avatar Feb 18 '22 13:02 github-actions[bot]

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.

github-actions[bot] avatar Apr 02 '22 02:04 github-actions[bot]