It works perfectly because I haven\'t included JSX, but when I replace the script type with text/babel, it doesn\'t work because the module fails to load. bro
text/babel
bro
Just in case if some one comes here looking for answer
There is a support for data-plugins and data-presets in babel standalone