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
With more and more build tools (vite, nuxt, etc) going towards an esm-first build, it would be nice if a proper esm interface could be provided, i.e. transpile and distribute esm version, including correct export declaration in package.json.
Meanwhile could anyone show a workaround to use it with Vite/Rollup? Importing from 'source-map-support/browser-source-map-support.js' seems to be broken: TypeError: Cannot set properties of undefined (setting 'sourceMapSupport')
Activity
jimmywarting commentedon Apr 5, 2023
vote for pure ESM-only
BenceSzalai commentedon Aug 26, 2023
Meanwhile could anyone show a workaround to use it with Vite/Rollup? Importing from
'source-map-support/browser-source-map-support.js'seems to be broken:TypeError: Cannot set properties of undefined (setting 'sourceMapSupport')UPDATE:
Nevermind, all I needed to do was:
It works just fine with Vite.