Sheldon Coates
Sheldon Coates
Just to add to this `import { serverFunctions } from '../src/client/utils/serverFunctions.ts'` resolves to an empty object `{}` inside `./dev/index.js`. Still investigating why this is.
I have converted `src/server/index.ts`, `src/client/utils/serverFunctions.ts` both to `js` files and this fixed the issue, but I'm not 100% sure why.
it was cloned a long time ago, but i've gone through and update all files to match this repo and the screenshot is the error I'm getting... not sure why...
To me it seems like ``` plugins: [ new GasPlugin({ // removes need for assigning public server functions to "global" autoGlobalExportsFiles: [serverEntry], }), ], ``` isn't actually exporting
I'm using the same version... tried with a newer version as well and still have the same issue
does your `code.gs` have the keyword `global` in it?
 I do see the message `Could not find a declaration file for module './ui'.` on the imports and it doesn't seem like the...
so I've narrowed it down to the tsconfig causing the issues ``` { "compilerOptions": { "types": ["gas-types-detailed"], "jsx": "react", "esModuleInterop": true, "lib": ["es2019", "dom"] } } ``` this adds global...
I need to have my tsconfig as ``` { "compilerOptions": { "types": ["gas-types-detailed"], "jsx": "react", "lib": ["es2019", "dom"], "esModuleInterop": true } } ``` at the minimum for my application to...
okay i've added the two tsconfig files one for client and one for server and thats all good, thanks. Now when i build, `code.gs` I still only has the last...