I have a shared code folder (‘config/’) that’s a peer of api and web and imported by each. I noticed it’s not being transpiled from es6 modules (and thus throwing errors). I see the passage about overriding webpack config for web, https://redwoodjs.com/guides/webpack-config.html#overriding-webpack-config, but what about api side, is typescript transpiling that?
Also, I’d like to be able to import from this shared folder like the current ‘src/’ imports set up for both api and web.
Any tips for achieving this or am I swimming upstream by having this shared code folder outside of api and web?