Add URL pragma of main.js in python code

This commit is contained in:
Adrian Vollmer 2024-04-21 14:56:22 +02:00
parent 1170afbfd3
commit 9faf9ca98b
2 changed files with 1 additions and 3 deletions

View File

@ -296,5 +296,3 @@ var hide_loading_indictator = function() {
var loading = document.getElementById('loading-indicator');
loading.style.display = 'none';
}
//# sourceURL=main.js

View File

@ -80,7 +80,7 @@ def embed_assets(index_file, output_path=None, append_pre="", append_post=""):
"current_path": base_name,
"file_tree": file_tree,
"remote_resources": remote_resources,
"main": init_files["main.js"],
"main": init_files["main.js"] + "\n//# sourceURL=main.js",
}
global_context = json.dumps(global_context)