ES6 import module only works in transpiler like webpack. The support for node is currently in experimental stage.
Yup you got it! Thanks for chiming and helping with the answer @brianwfl88 π
You meant to say 'like babel', because webpack is a bundler.
In this instance because the files are all in modules, you will need a bundler like webpack or even gulp to join them all together π
i explain it here a bit more > dev.to/samanthaming/comment/i48b
Thanks, but I just corrected what he said π .
Ah got it! Iβll also adjust my notes, thanks for the clarification π
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
ES6 import module only works in transpiler like webpack. The support for node is currently in experimental stage.
Yup you got it! Thanks for chiming and helping with the answer @brianwfl88 π
You meant to say 'like babel', because webpack is a bundler.
In this instance because the files are all in modules, you will need a bundler like webpack or even gulp to join them all together π
i explain it here a bit more > dev.to/samanthaming/comment/i48b
Thanks, but I just corrected what he said π .
Ah got it! Iβll also adjust my notes, thanks for the clarification π