bennypowers / stripe-elements

Custom Element Wrapper for Stripe.js v3 Elements
https://stripe-elements.netlify.app/
79 stars 20 forks source link

Rollback to ES2019 for Vue 2 #88

Closed k4lu-0p closed 2 years ago

k4lu-0p commented 2 years ago

Hi @bennypowers ! My project uses ES2019 build. May you rollback to ES2019 build ?

(e.g below of issue with chaining operator missing in ES2019)

Screenshot 2022-06-08 at 14 15 26

bennypowers commented 2 years ago

Optional chaining and nullish coalescing are supported from node 14.5. Current LTS is 16. On the browser side, since Safari 13 and >20 Chrome and FF versions back.

k4lu-0p commented 2 years ago

Optional chaining and nullish coalescing are supported from node 14.5. Current LTS is 16. On the browser side, since Safari 13 and >20 Chrome and FF versions back.

Sorry for the missing details. I use your components inside a Vue 2 project. ES2020 features is only available from Vue 3 and upgrade to the 3 version isn't the priority of my company

https://stackoverflow.com/a/67282216

bennypowers commented 2 years ago

This is an issue with Vue