Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reducing the size of the package in Serverless by eliminating unused languages #337

Open
GKosheev opened this issue Sep 27, 2023 · 1 comment

Comments

@GKosheev
Copy link

I'm using ESM with Node.js and I was wondering if there is a way to eliminate unused languages from the Serverless environment to reduce the size of it?

I would exclude all the languages, that I don't use, manually, but then I would need to change supportedLocales.json as well.

@rwieruch
Copy link

I like this idea. We had to hard code a dictionary from this library for our 11 supported languages. Otherwise the package would have been too big for our edge runtime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants