Files
pyscript/pyscript.core/tests/manual/split-config.html
Andrea Giammarchi 9f46234f71 Fix #2114 - Cleanup the test folder + automation (#2143)
* Fix #2114 - Cleanup the test folder + automation
* Merged both test and tests into a single folder
2024-08-08 17:08:59 +02:00

21 lines
572 B
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>PyScript Config</title>
<script type="module">
import { config } from "../../dist/core.js";
console.log(config.mpy);
</script>
<link rel="stylesheet" href="../../dist/core.css">
<mpy-config>
[[fetch]]
files = ["./a.py"]
</mpy-config>
<script type="mpy">
import a
</script>
</head>
</html>