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

Probably better use new Function('module', code) rather than base64 url import #13

Open
klesun opened this issue Dec 16, 2020 · 2 comments

Comments

@klesun
Copy link
Owner

klesun commented Dec 16, 2020

const base64Code = b64EncodeUnicode(jsCode);

@KilianKilmister
Copy link

this would mean it's impossible to compile standard esm

@klesun
Copy link
Owner Author

klesun commented Dec 27, 2020

Mmm, not sure what you mean. You think it will be better to stick with base64 approach? I thought it would work same way as base64, just without the extra encoding step...

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

2 participants