How to use it with es6 modules
grcmichael opened this issue · 2 comments
grcmichael commented
Hi, I'd like to use your library using es6 modules,
so I can use the import
syntaxe.
Indeed the require()
syntaxe doesn't work with my workflow.
Can I do this with your module ?
Thank you very much
nopol10 commented
Use
import YouTubeToHtml5 from "@thelevicole/youtube-to-html5-loader";
grcmichael commented
thanks a lot for your answer, i added useless brace char !