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

Add ability to run external asset pipelines from Orchid #302

Open
cjbrooks12 opened this issue Aug 19, 2019 · 0 comments
Open

Add ability to run external asset pipelines from Orchid #302

cjbrooks12 opened this issue Aug 19, 2019 · 0 comments
Labels
api proposal A proposal for a new API opened in Core and implemented by plugins core Project Type: Core functionality feedback wanted Feedback from the community is greatly appreciated, to make this exactly what the community wants

Comments

@cjbrooks12
Copy link
Contributor

cjbrooks12 commented Aug 19, 2019

A common use-case would be to run Node-based build pipelines for frontend assets. The current way to add assets from these pipelines to an Orchid site is to simply run them independently, but have the Node pipeline run before Orchid, so that Orchid can pick up the outputs and use them.

There should be a way to have Orchid run these pipelines as part of its own build process. I'm thinking including something like a PublicationPipeline to the AssetsGenerator, which can be configured via config.yml. There could be pipeline stages for specific types of runners (gradle, NPM, yarn, etc), and it would be nice if they could "emit" output assets which get attached to pages automatically, so that the user doesn't need to manually set the output files, and so it would still work with dynamic (hashed) filenames.

Middleman's external pipelines seem to pretty much be the same idea that I'm thinking of here, for a better understanding of what I'm thinking of for this.

@cjbrooks12 cjbrooks12 added core Project Type: Core functionality api proposal A proposal for a new API opened in Core and implemented by plugins feedback wanted Feedback from the community is greatly appreciated, to make this exactly what the community wants labels Aug 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api proposal A proposal for a new API opened in Core and implemented by plugins core Project Type: Core functionality feedback wanted Feedback from the community is greatly appreciated, to make this exactly what the community wants
Projects
None yet
Development

No branches or pull requests

1 participant