You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my main project have a generic common.ts file where I put some functions and constants.
If I import this file into the functions, the "run deploy" does not work.
It creates some build error and screws up the lib directory.
It no longer updates the lib\index.js instead, it creates a new subfolder lib\functions\ and put everything there, like if it was the lib folder.
Therefore I need to duplicate my common.ts file and update it every time that I do change in the functions. It's not the best practice especially if I forget.
Any suggestion?
Thank you
Benoit L.
The text was updated successfully, but these errors were encountered:
Hi
In my main project have a generic common.ts file where I put some functions and constants.
If I import this file into the functions, the "run deploy" does not work.
It creates some build error and screws up the lib directory.
It no longer updates the lib\index.js instead, it creates a new subfolder lib\functions\ and put everything there, like if it was the lib folder.
Therefore I need to duplicate my common.ts file and update it every time that I do change in the functions. It's not the best practice especially if I forget.
Any suggestion?
Thank you
Benoit L.
The text was updated successfully, but these errors were encountered: