DEV Community

Discussion on: JavaScript Modules

Collapse
 
kiranrajvjd profile image
Kiran Raj R

Yes, and if i am not mistaken, we can use it without babel by setting the type="module" in the script tag, right?
ex: <script src="./file.js" type="module"></script>
I think I need to dig deep into that, thanks for pointing out.
Appreciated

Collapse
 
thevinitgupta profile image
Vinit Gupta

Is this really possible?
I have been thinking of using this but couldn't figure out the right way.