Closed minskmaz closed 4 years ago
I solved this issue. The problem was with the line var dist_js_file = www_folder.getFile(e._path)
- e._path doesn't get the file - www_folder.getFile(e._name) does - so I was passing the fileExists test but receiving 0 bytes from readTextSync()
From the documentation as well as the sample app it's difficult to ascertain how one would load and call the build/dist files of a web app. I've added the index.html and all the supporting js files from the dist using the following code. As it stands none of the javascript I've loaded executes. What step(s) am I missing? Thanks in advance! (PS. the dom query is to get the latest name of the app.js file which changes with each new dist generation)