Closed jakeleventhal closed 9 months ago
try it @jakeleventhal:
/** @type {import('next').NextConfig} */
const nextConfig = {
transpilePackages: [
'mui-tel-input'
]
}
module.exports = nextConfig
Yeah, this works. But the distributed package ought to be pre-transpiled. It should not be on the end-consumer to transpile it.
Ought!
this issue is not resolved
Sorry we are going to keep ESM first.
Has the solution https://github.com/viclafouch/mui-tel-input/issues/108#issuecomment-1812978811 solved the issue ?
Yes, that solves the issue, but its standard to ship a dist folder with pre-transpiled JS
I get the above error on
4.0.1
but do not on4.0.0