I would like to use the features of ES2016 for my front end development. Especially import
and decorators
are interesting for me.
I’ve started a small test project and created some different files with classes which I include with import
. Babel generates the correct files but includes an require
statement which does not work in a browser (as far as I know).
Are there any good tools to concat all files into a single javascript file ordered by their require? Or some libraries for gulp which do this for me?