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

Import local ES6 module #1

Open
andylima opened this issue Mar 17, 2017 · 3 comments
Open

Import local ES6 module #1

andylima opened this issue Mar 17, 2017 · 3 comments

Comments

@andylima
Copy link

The ability to import our own local ES6 modules would be very useful. :)

@andylima
Copy link
Author

andylima commented Mar 17, 2017

...Or can we already do this?

@pd4d10
Copy link
Owner

pd4d10 commented Mar 18, 2017

Nice idea.

Actually, when $i is called, this extension create a script tag (for JS) or a link tag (for CSS), and set its src property. So it seems not work to import local modules in this way. Maybe I could do some research for it.

If you have good way to do this, pull request is very welcome :)

@andylima
Copy link
Author

andylima commented Mar 18, 2017

I think that for HTTPS sites script injection (from a Chrome extension) with local script files being injected requires a local HTTPS server running... so maybe this isn't possible.

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

No branches or pull requests

2 participants