Why does importing a zigar while a node-zigar.config.json is present cause recompilation? #621
Unanswered
MichaelBelousov
asked this question in
Q&A
Replies: 1 comment 7 replies
-
|
I guess I can add an option in |
Beta Was this translation helpful? Give feedback.
7 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.
-
at least in my few zigar usages so far, I have a "production" (often bundled) version of my library/app which changes from importing .zig in development environments to .zigar. So it's annoying to me that
node-zigar.config.jsonwill still cause a recompilation in that production version locally.Importing .zigar is pretty unambiguously (imo) a request to fail if we don't have the production precompiled zigar output to load.
But it does require conditional compilation in my import code which I suppose is atypical/annoying and why you're allowing compilation of the .zig file even when using the
.zigarextension.Is there another way to handle this that has been considered?
Beta Was this translation helpful? Give feedback.
All reactions