Closed R-Iqbal closed 2 years ago
Solved it, I needed a top level index.ts
in my claimsgate/core
Glad you make it !
If you do need some assistance please let me know.
Barrel export is really common practice to expose library specific logic to outside world.
Cheers!
@R-Iqbal
Hi,
I am trying to setup Firelink with our existing Firebase project with support for Firebase emulators. We are using yarn 3 workspaces.
package.json
firelink emulators:start --only "functions"
../core
is moved into./packages/core
./packages/core
is not compiled, will Firelink automatically compile this code given it has atsconfig.json
Example function
export const testFunction = functions.region(region).https.onRequest(async (req: any, res: any) => { hello(); });
If this is the correct behaviour with Firelink then potentially the issue lies with my tsconfig in my functions folder.
Any ideas / advice would be great.