Provisioning error: "Invalid JS file myFunctions.js, no code separators."


I’m receiving an error when provisioning my code locally, but I’m not sure how to resolve it.

Error: [mytenant/mytag] Error during provisioning. Server returned:
Invalid metadata in tag mytag in tenant mytenant:

in "app/mycode.c3app":
     Invalid JS file myFunctions.js, no code separators.

Does anyone know what the error means and how I can fix it?



This is a vestige of old structure, which will be removed soon. For now surround your file with these comments:
// C3BeginAppend
// C3EndAppend