Purpose of Index.ts in frontend/src/ts #3843
Unanswered
jerryzhou196
asked this question in
Questions
Replies: 1 comment
-
Resolved. Index.ts is the entry point for webpack, and quite literally imports everything. |
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.
-
Monkeytype diehard here. And a completely incompetent Computer Science major.
Monkeytype is a near-universal experience here at the University of Waterloo. Computer science is a pretty big thing here, and I swear I can always hear someone mashing monkeytype in the computer lab.
Emotional anecdote aside, I was really interested in learning how Monkeytype was built. It's such a beautiful, elegant software.
After tinkering a little, I noticed in the build process, we refer to index.ts for the entry point of the webpack. I looked into the file, and it seems to just be adding a few random debug functions to the global object. I was wondering what the idea behind these functions were?
Beta Was this translation helpful? Give feedback.
All reactions