You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems there's something wrong with the typings and the browser file.
1- Types are declared in pino.d.ts
2- Inside types, we have both a default and a named export for pino, so we should be able to do import pino from "pino" and import { pino } from "pino".
3- package.json specifies "browser": "./browser.js", and "main": "pino.js",
4- In pino.js, everythingis exported correctly
5- In browser.js we only have the basic export. This means that import { pino } from "pino" does not work.
The text was updated successfully, but these errors were encountered:
It seems there's something wrong with the typings and the browser file.
1- Types are declared in
pino.d.ts
2- Inside types, we have both a default and a named export for pino, so we should be able to do
import pino from "pino"
andimport { pino } from "pino"
.3- package.json specifies
"browser": "./browser.js",
and"main": "pino.js",
4- In
pino.js
, everything is exported correctly5- In
browser.js
we only have the basic export. This means thatimport { pino } from "pino"
does not work.The text was updated successfully, but these errors were encountered: