Replies: 1 comment
-
Can i have your code? |
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
-
I have a javascript function in my main.js file that is referenced via a
<script src=…
tag in a component that is included via posthtml-include (most of the contents of my tag is processed in this way), and then used viaonclick="functionName()"
in another component that is included via posthtml-include, yet Firefox complains in the JS console that this function does not exist when it is clearly defined in my main.js. Thus, I must conclude that despite the reference to it in theonclick
entry, Parcel is removing the function. What is the solution to this error?Beta Was this translation helpful? Give feedback.
All reactions