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
if I am correct you cannot use Transcrypt generated JS files embedded in a local html file by directly opening this file in a local browser as javascript modules are only allowed to be embedded through http/https?
I would like to use Transcrypt locally in combination with pywebview to create user interfaces to python programs just with HTML and javascript. Pywebview opens a browsing window and allows communication with a python script to the java script in this browsing window.
As I like this approach and I see no need to start a server on the local machine with pywebview, is it possible to tell transcrypt just to put out non modularized java script code? Would that be a new feature? Or would I have to replace all the "export"-statements in the Javascript file manually and would it still work then?
Kind regards
Bastian
The text was updated successfully, but these errors were encountered:
Hello,
if I am correct you cannot use Transcrypt generated JS files embedded in a local html file by directly opening this file in a local browser as javascript modules are only allowed to be embedded through http/https?
I would like to use Transcrypt locally in combination with pywebview to create user interfaces to python programs just with HTML and javascript. Pywebview opens a browsing window and allows communication with a python script to the java script in this browsing window.
As I like this approach and I see no need to start a server on the local machine with pywebview, is it possible to tell transcrypt just to put out non modularized java script code? Would that be a new feature? Or would I have to replace all the "export"-statements in the Javascript file manually and would it still work then?
Kind regards
Bastian
The text was updated successfully, but these errors were encountered: