Closed TeMeta closed 2 years ago
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.
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!
added a simple Python test program
aaaaa.py
tosasjs/services/files
and ransasjs cbd
.Instead of copying the python program it decided to put the content of
upload.sas
into both files insidesasjsbuild
instead