Use require() instead or importing the whole file #861
Unanswered
ctrl-plus-w
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello ! I have two files containing classes, when importing one in an other, the whole class get imported and the commonjs require() method isn't used. Is there a way to prevent that ?
Compiled :
Beta Was this translation helpful? Give feedback.
All reactions