Skip to content

Commit

Permalink
Update upgrading.md
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Cheng <ericcheng9316@gmail.com>
  • Loading branch information
matthewmayer and import-brain committed Apr 15, 2024
1 parent 09bdde3 commit 8f5de80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ If you are unable to upgrade to TS5, you have to keep using Faker v8.

### Fix Tree Shaking

Prior to this version, users had to resort to a workaround by importing specific faker instances from dedicated paths to overcome an issue which caused all locales to be bundled even if only one was used.
Prior to this version, there was an issue where all locales would be bundled even if only one was used. Users had to resort to a workaround by importing specific faker instances from dedicated paths.

```ts
import { faker } from '@faker-js/faker/locale/de';
Expand Down

0 comments on commit 8f5de80

Please sign in to comment.