Well that was my intention to mean that this particular feature (import
statement) seems to lack support for somewhat popular browsers.
Also I think caniuse lags a bit since if I'm not mistaken latest FF
And in any case JS errors are not Django related.
2.3.2018 13.30 "Jason" <jjohns98...@gmail.com> kirjoitti:
> Jani Tiainen, Your assertion that ES is not very well supported is
> incorrect. Most of ES6 is in fact highly supported across browsers except
> for certain specifications that are still being worked on regarding
> implementation details. For reference, look at http://kangax.github.io/
> compat-table/es6/. It all depends on your target audience, but using
> babel to transpile by default is a good practice.
> As to the original issue, the problem is OP is using a non-compatible
> browser for imports, as you can see at https://caniuse.com/#feat=
> es6-module Firefox and IE are the big names that have no native support
> and will require a transpiled version to work.
> TL;dr front end can be a mess, OP got caught in it and there are ways
> around it.
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to firstname.lastname@example.org.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.