stripe / connect-js

Loading wrapper for Connect.js
https://stripe.com/docs/connect/get-started-connect-embedded-components
MIT License
20 stars 8 forks source link

Remove the need to parse the package.json file by including the version through rollup #49

Closed jorgea-stripe closed 1 year ago

jorgea-stripe commented 1 year ago

This PR makes use of rollup to get the package.json version in the code, removing the need for parsing the package.json file (which was causing problems for some TS integrations with resolveJsonModules: false).

With these updates:

  1. The version is included image

  2. The package.json file is no longer in shared.ts image