Pino: where is a compiled es5 version?

Created on 28 Oct 2019  Â·  6Comments  Â·  Source: pinojs/pino

I'd like to use this, but I see browser.js has module and such.
Is there a working es5 version in the repo?

question

All 6 comments

you can compile that using browserify or webpack

Il giorno lun 28 ott 2019 alle 22:20 Vic C notifications@github.com ha
scritto:

I'd like to use this, but I see browser.js has module and such.
Is there a working es5 version in the repo?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pinojs/pino/issues/735?email_source=notifications&email_token=AAAMXY57D6CHOVJJ5KFBO43QQ5JRXA5CNFSM4JGAII72YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HU4L4HA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAMXY63V52SMEHJ2R3T6HDQQ5JRXANCNFSM4JGAII7Q
.

I believe this question is answered. If you need further information feel free to reopen.

when accessed via CDN, neither git nor npmjs contains the needed file.

We don’t offer a CDN for this package. This is a utility library and as such it is meant to be bundled with the application.

Anything released on npm or github release is auto-CDN, eg https://www.jsdelivr.com/features
That is how libs/assets are accessed on the web, via http, from the cached edge. hth.
This lib is rare in that it does not offer a build - so it does not work w/ a CDN. And that is why I opened the issue.

Assets are indeed accessed on the web via HTTP. But that doesn't mean everyone creating a library supports every arbitrary third party _service_ that serves assets over HTTP.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

davidmarkclements picture davidmarkclements  Â·  6Comments

stephenmathieson picture stephenmathieson  Â·  6Comments

JamesKyburz picture JamesKyburz  Â·  7Comments

callumlocke picture callumlocke  Â·  4Comments

acro5piano picture acro5piano  Â·  3Comments