Open andylima opened 7 years ago
...Or can we already do this?
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 :)
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.
The ability to import our own local ES6 modules would be very useful. :)