Only import the stuff we need from chart.js

XMLWordPrintable

    • 3
    • S

      Context:

      The new version of chart.js supports tree shaking, which allows as to only import the stuff we need to reduce the bundle size. We currently import everything from the library.

      AT:

      • Only import the needed modules from chart.js

       

            Assignee:
            Omran Abazeed
            Reporter:
            Omran Abazeed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: