chrisvdm / redwoodjs-stripe

A Redwood/Stripe integration made easy
MIT License
46 stars 7 forks source link

fix: remove extension from require('superpowers.json') #114

Closed jtoar closed 1 year ago

jtoar commented 1 year ago

Fixes a bug introduced in https://github.com/chrisvdm/redwoodjs-stripe/pull/112. If we specify the extension, we'll end up with an error at runtime since esbuild transforms superpower.json into superpower.js. Node will be able to resolve the file if we remove the extension.