Skip to content

Javascript Dev: Our naming conventions cause issues with require() #6344

Answered by linonetwo
joshuafontany asked this question in Q&A
Discussion options

You must be logged in to vote

I think you should use rollup or esbuild or webpack, and use import statement. Then all import will only happened at buold time, and wont affect tw runtime.

Replies: 7 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by joshuafontany
Comment options

You must be logged in to vote
2 replies
@saqimtiaz
Comment options

@pmario
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants