Add support for @import #167
Answered
by
tomickigrzegorz
psydigital
asked this question in
Q&A
-
Would it be possible to add support for an import statement? |
Beta Was this translation helpful? Give feedback.
Answered by
tomickigrzegorz
Feb 14, 2023
Replies: 2 comments
-
You mean importing a library into another project? EDIT:
The example above was used with webpack. Of course you can also use this library as a module. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
psydigital
-
Thanks @tomickigrzegorz. I was more wanting to install as a Yarn/NPM dep, but I went with this method as you describe. |
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
You mean importing a library into another project?
Or use a library as a module (<script src="script.js" type="module"></script>)
EDIT: