Refactoring to support inlined scripts
This commit is contained in:
12
test/basic/fixtures/script.html
Normal file
12
test/basic/fixtures/script.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<script type="module">
|
||||
import {b} from "./batman.js";
|
||||
document.body.appendChild(
|
||||
document.createTextNode(`Inline script including ${b()}`)
|
||||
);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user