Closed tiagoporto closed 2 years ago
Please provide a minimal reproduction, e.g. via fakerjs.dev/new I cannot reproduce this locally :thinking: So it might be a TS setting
Hey @tiagoporto :), could you check the newest alpha out, if the local import is working for you?
Hi @prisis, yeap the new version is working. Thank you.
Describe the bug
Importing directly from locales it's not working.
E.g.
import faker from '@faker-js/faker/locale/en'
Package has no locale folder
Reproduction
import faker from '@faker-js/faker/locale/en'
will return
Cannot find module '@faker-js/faker/locale/en'
Additional Info
No response