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

diary - implementation thoughts #1

Open
sashafirsov opened this issue Aug 10, 2018 · 3 comments
Open

diary - implementation thoughts #1

sashafirsov opened this issue Aug 10, 2018 · 3 comments
Labels
diary thought around particular topic question Further information is requested

Comments

@sashafirsov
Copy link
Member

<epa-translation> notes

@sashafirsov sashafirsov added question Further information is requested diary thought around particular topic labels Aug 10, 2018
@sashafirsov
Copy link
Member Author

While <epa-translation> is published as microapplication in node and microapplications registry(TBD), it does not have (yet) any dependencies relying only on vanilla JS.

The format of modules uses ES6 syntax and if legacy browser support is needed, the code could be compiled into ES5 and need to be served with appropriates shims. At this moment WebPack does the trick perfectly.

@sashafirsov
Copy link
Member Author

The entry point for microapplication is epa-translation.js which is served as ES6 module and need to be includes as <script type="module" src="epa-translation.js"></script>

@sashafirsov
Copy link
Member Author

Todo: Enabling microapplication via:

  • <script
  • bookmarklet ( page TBD )
  • browser plugin (page TBD)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
diary thought around particular topic question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant