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
Software Developer with 1 year+ experience in creating exciting apps with NodeJS, ReactJS, NextJS and MongoDB. Also, open source contributor and technical writer.
I think you forgot to mention that vanilla JS doesn't support ES6 imports / exports without the use of a bundler like Babel or Webpack.
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
Is this really possible?
I have been thinking of using this but couldn't figure out the right way.