-
The situation is as followed:
How can i do it with parcel if at all? |
Beta Was this translation helpful? Give feedback.
Answered by
dharmax
Jul 2, 2020
Replies: 1 comment
-
i found a very simple solution: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dharmax
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i found a very simple solution:
i added to the file containing the component the line
window["MyComponent"] = MyComponent
Then, i ran parcel my-component.ts. The result was a file that externalize the component through a "global" variable.