mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-14 04:06:49 +01:00
Babel loose (#7452)
* Use loose mode for babel * Add note about loose mode in performance docs
This commit is contained in:
committed by
Evert Timberg
parent
937845956c
commit
35520dfca8
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user