Open
Description
Instead of copying the contents of the script into the HTML I would like to have the option to declare the path to the source input.
I will submit a PR for this use case shortly.
For example (the new flag is only a suggestion, a better recommended name or default behavior is appreciated)
> pyscript wrap --no-copy-source input-file.py -o index.html
> cat index.html
<!DOCTYPE html>
<html lang="en">
<head>
<title>PyScript App</title>
<link rel="stylesheet" href="https://pyscript.net/alpha/pyscript.css"/>
<script defer src="https://pyscript.net/alpha/pyscript.js"></script>
</head>
<body>
<py-script src="input-file.py"></py-script>
</body>
</html>