Closed jonysy closed 7 years ago
You cannot use babel-standalone
in this case. babel-standalone
is able to compile individual files, but it has no support for modular code. For modules to work, you would need to use a normal Babel workflow using something like Webpack or Browserify to bundle all of your files into a single file to execute in the browser.
Thank you, Logan :)
Full message:
What needs to be done to get this to work?