This PR drops browser's compilation target down from "ES2022" to "ES2021". This will allow for projects like Vite with a lower compilation target to emit websites that can handle a browser like Safari 13.1 in macOS Catalina that hadn't yet gained knowledge of things like public class fields.
This PR drops browser's compilation target down from
"ES2022"
to"ES2021"
. This will allow for projects like Vite with a lower compilation target to emit websites that can handle a browser like Safari 13.1 in macOS Catalina that hadn't yet gained knowledge of things like public class fields.Fixes #405.