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
I'm trying to bundle the library in library that would reference the mjs file listed in the package.json, however, dist/index.mjs does not exist.
It looks like a second tsconfig.json is needed that has something like "module": "ES2015" in it and both need to be compiled. Optionally, you could change the format of the package.json so that bundlers fallback to cjs
The text was updated successfully, but these errors were encountered:
I'm trying to bundle the library in library that would reference the
mjs
file listed in thepackage.json
, however,dist/index.mjs
does not exist.It looks like a second
tsconfig.json
is needed that has something like"module": "ES2015"
in it and both need to be compiled. Optionally, you could change the format of the package.json so that bundlers fallback to cjsThe text was updated successfully, but these errors were encountered: