Jan Amann
Jan Amann
I think this might be better addressed by running prettier/eslint on save after the adjustment from `i18n-ally`. Other frameworks [don't include permutations for all quotation marks](https://github.com/lokalise/i18n-ally/blob/main/src/frameworks/react-intl.ts) that JS supports either,...
Would be really helpful to have this fixed, especially since there doesn't seem to be a workaround.
Thanks for having a look! > Adding index.development.js as source file works for you? Unfortunately not, it seems. ```tsx "exports": { ".": { "import": { "types": "./dist/index.d.mts", "development": "./dist/index.development.mjs", "production":...
Thanks! I can confirm the snippet from above works now, yes! 🎉 However, I noticed that once I introduce sub-exports apart from `.`, only the last entry gets a dev...
@huozhi I've updated [my example](https://github.com/amannn/bunchee-test) with `[email protected]`, here's the new build output: ``` Exports File Size ./core dist/core.d.undefined 51 B dist/core.mjs 158 B dist/core.production.mjs 57 B dist/core.development.mjs 114 B dist/core.js...
Ah true, that `main` entry was outdated. I've fixed it in [e961321](https://github.com/amannn/bunchee-test/commit/e96132133a1218ad02450b70c291b760acd8e1bd). The output still has `.d.undefined` entries though. Did you see the output for [`dist/core.d.ts`](https://github.com/amannn/bunchee-test/blob/main/dist/core.d.ts)? Seems like some runtime...
That's great, thanks @huozhi! Let me know when there's a new beta version and I'll give it a go! 🙂
Based on my first tests I think this works now, thanks a bunch!! I'll continue my investigation of switching to bunchee by trying out the new shared modules from https://github.com/huozhi/bunchee/pull/480.
I believe it's this todo in the code base: https://github.com/kripod/react-polymorphic-types/blob/30ba44854a4edec6dcb5ae797c6df4e849ab73db/index.d.ts#L25
It would be desirable to support this as a built-in feature. The current workaround is to structure your routes based on your default locale. In case someone is interested in...