How can I use the runtime hooks feature? #73
vinaysshenoy
started this conversation in
General
Replies: 1 comment
-
The stack trace indicates it's an issue with the path to your module |
Beta Was this translation helpful? Give feedback.
0 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.
-
Is there a sample on how to use the runtime hooks feature somewhere? I need to process the image before it gets saved in some cases, but I am having trouble getting the runtime hooks to actually works.
I have added this function in
transformSnapshot.cjs
:And then referred to it when configuring the library:
When I run the test, however, this fails with the following error:
Can someone point me to an example which shows how to use this properly?
Beta Was this translation helpful? Give feedback.
All reactions