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
It is already possible to import locales via e.g.: import en from '@faker-js/faker/lib/locales/en'
This was also documented in the old docs and is the wanted behaviour to import additional locales.
In the old way it was just faker/locales/en. But now were we're planning to bundle cjs, esm and umd anyways, we could look if we want to provide it differential as before.
Describe the bug
It is already possible to import
locales
via e.g.:import en from '@faker-js/faker/lib/locales/en'
This was also documented in the old docs and is the wanted behaviour to import additional locales.
In the old way it was just
faker/locales/en
. But now were we're planning to bundlecjs
,esm
andumd
anyways, we could look if we want to provide it differential as before.Reproduction
Go to
index.ts
in https://typescript-wsqtmx.stackblitz.io and seeAdditional Info
Version:
v6.0.0-alpha.3
The text was updated successfully, but these errors were encountered: