Multi-phase build #4178
Unanswered
ryantownsend
asked this question in
Q&A
Replies: 1 comment 3 replies
-
|
Hm, I would think that 1. could be done as part of before event. Alternatively you could look into using virtual templates here. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently integrating compression dictionaries into an 11ty project (with a view to open-sourcing a plugin). In order to complete this, I need to create a multi-phase build:
(we can't use our source as that could leak internal code)
.dczfiles.ts.liquid) to handle proxying(this depends on the dictionary existing in step 4 so we can generate a SHA-256 of its contents)
There are a few alternatives that world work:
Are there any APIs within 11ty that could help me achieve any of these flows?
Sidenote: it would be far easier if Netlify allowed files to be imported into edge functions and we didn't need to compile them into the JavaScript (something they offer for Serverless functions as
included_files)... that would remove the need for this entire complexity, but given it's a popular host for 11ty projects, I need to figure out this workaround.Beta Was this translation helpful? Give feedback.
All reactions