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

--module flag output module instead of self things #97

Open
gertcuykens opened this issue Mar 19, 2019 · 1 comment
Open

--module flag output module instead of self things #97

gertcuykens opened this issue Mar 19, 2019 · 1 comment

Comments

@gertcuykens
Copy link

gertcuykens commented Mar 19, 2019

Can we have a ES module versionimport pbf from 'https://unpkg.com/pbf@3.2.0/dist/pbf.mjs?module' please and a proto compiler --module flag that can output a module instead of a self thing. Life is to short to wait for a stable nodejs mjs release :)

Was hoping a bit of CI magic can generate a extra dist mjs automatically

Thanks

@gertcuykens gertcuykens changed the title import {pbf} from 'https://unpkg.com/mapbox/pbf?module' --browser flag output module instead of self things Mar 19, 2019
@gertcuykens gertcuykens changed the title --browser flag output module instead of self things --module flag output module instead of self things Mar 19, 2019
@mourner
Copy link
Member

mourner commented Mar 19, 2019

Yes, definitely in the plans!

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