Bug: services/files from react-seed-app copied incorrectly during compile/build/deploy
TeMeta opened this issue · 2 comments
TeMeta commented
allanbowe commented
Yes - that is a bug! However we don't support compilation yet for python / JS programs.
Instead, any python / JS content should be added in the syncFolder
property.
Just add this to your sasjs/sasjsconfig.json
:
{
"$schema": "https://cli.sasjs.io/sasjsconfig-schema.json",
"syncFolder": "sasjs/mystaticfolder",
"targets": [
Then, any content under sasjs/mystaticfolder
will be uploaded without modification.
TeMeta commented
Thanks @YuryShkoda, closing ticket. I realised that compiled version of services appended them in order for dependencies. The Python content was appended to the end of that file. Thanks for the clarification!