Is there a way to apply the modification when the module of node_modules is modified? #15044
-
Is there a way to apply the modification when the module of node_modules is modified? like this // node_modules/something
~~~
console.log("test") // i add console to test
~~~ It is called in the browser, but not in the next.js server. (yarn dev) |
Beta Was this translation helpful? Give feedback.
Answered by
jamesmosier
Jul 10, 2020
Replies: 1 comment 1 reply
-
That would get overwritten anytime you install your node_modules (for example on a server) so it would not be reliable to do this. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ITSWYoo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That would get overwritten anytime you install your node_modules (for example on a server) so it would not be reliable to do this.