Skip to content

Commit

Permalink
Add note about loose mode in performance docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kurkle committed Jun 5, 2020
1 parent fe49ef3 commit 57187c6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/docs/general/performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,3 +219,8 @@ new Chart(ctx, {
}
});
```

### When transpiling with Babel, cosider using `loose` mode

Babel 7.9 changed the way classes are constructed. It is slow, unless used with `loose` mode.
[More information](https://github.com/babel/babel/issues/11356#issuecomment-637072426)

0 comments on commit 57187c6

Please sign in to comment.