toomuchdesign/react-minimal-pie-chart

IE syntax error

luca-esse opened this issue · 5 comments

Do you want to request a feature or report a bug?

Bug

What is the current behaviour?

Importing react-minimal-pie-chart causes a syntax error on IE 11

Steps to Reproduce the Problem

The problem is reproducible even in the storybook with IE 11

Specifications

  • Version: 4.1.0, 4.0.0
  • Platform: IE 11

Hi @luca-esse,
Would you please provide more info about the error?

This is a screenshot of the storybook, I'm experiencing the same behavior on my application with IE 11 and react-minimal-pie-chart 4.1.0/4.0.0;
Storybook

My application:
My application

Downgrading to react-minimal-pie-chart 3.5.0 solves the problem.

Thanks. It seems related to @babel/env default browsers config. It's originated from the embed svg-partial-circle lib not being transpiled.

Hi @luca-esse,
this should be addressed by v4.1.1.
Let me know if the patch fixes the problem and -if yes- please close the issue.

Salutami la bella Torino. :)
Ciao!

Hi @toomuchdesign,
Yes, it did, I can confirm it's working now.

Grazie! Te la saluto con piacere :)