Replies: 1 comment
-
Framework self-hosts all its dependencies, so it should be possible (in theory) to have reproducible builds. Currently it is trusting cdn.jsdelivr.net to obtain the If you want to skip any download, you certainly have to prime the cache for all these elements (this is also a way to do version control on some of the internal The story with dependencies of dependencies (for instance, the CSS files for KaTeX, or the duckdb-wasm extensions) is slightly more complex, but these files still end up in the same cache. If you provide them to the build, it should not try to download anything. For this discussion it might help if you could share your intended workflow, the patches you made so far, and the errors you're seeing. |
Beta Was this translation helpful? Give feedback.
-
Hi, i am trying to build an Observable framework dashboard with nix for an embedded system project.
Nix and other hermetic build tools do not allow downloading in builds, instead all dependencies should have an fixed hash or be build hermetically themselves.
My Problem is that Observable framework always tries to download even if i made the imports explicit and put the dependencies in the node_modules or patched framework's libraries.js to not contain
npm:
some hacks i tried to build with nix, probably of no value
the furthest i got was a broken build where duckdb didn't work, most of the time Framework tried to to use the internet but crashed because it couldn't and threw a type errorI was thinking about opening an feature request for locking all dependencies but maybe i missed something
Intended Build process
B) change or update dependency -> jump to 3.
For this to work Framework needs to pin the dependencies
I don't use data loaders because i think they are not compatible with what i want to do
Beta Was this translation helpful? Give feedback.
All reactions