Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for type="module" script tags so we can use ES6 import/export #174

Open
jostermanAtPEW opened this issue Jan 10, 2019 · 0 comments

Comments

@jostermanAtPEW
Copy link

I have a commit providing this functionality on my local fork. Happy to make the pull request; your docs say to ask first.

Tell us about the issue you are experiencing

import / export syntax in javascript files listed in assets.js fails because they are loaded without the type="module" attribute

What behaviour would you expect?

the choice to separately list javascript assets that should be loaded with the type="module" attribute

How can this issue be replicated?

include an ES6 import in a javascript file listed in assets.js.

Screenshots / Screencast

image

Unexpected indentifier is Chrome's error on unexpected import

Your environment

Platform: Chrome 71
OS Version: iOS Sierra
Node Version: 10.9.0
NPM Version: 6.2.0
Astrum Version: 1.9.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant