provide initialized compilation
to custom loader script (and resource plugins)
#1273
Labels
Milestone
compilation
to custom loader script (and resource plugins)
#1273
Summary
As observed in ProjectEvergreen/www.greenwoodjs.dev#84, another item of context was missing from the compilation provided to plugins when pre-rendering / SSR'ing and so we had to patch support for
userWorkspace
to handle bundling images defined in the our theme.css file, otherwise we got this errorFurther more, the src/ directory had to be hardcoded,
Details
This is not that surprising, as we only provide certain values currently, and are hardcoding them ourselves, so we should probably change that :D
Based on some initial testing, we should at least be able to full support
config
andcontext
, since i don't think the graph will be relevant in the context of loading custom JavaScript formats.The text was updated successfully, but these errors were encountered: