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 π
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 π