From 66725b86e401b26dd78b0f2cecf6a61d75567637 Mon Sep 17 00:00:00 2001
From: Alex MacArthur
Date: Thu, 10 Nov 2022 22:51:39 -0600
Subject: [PATCH] Add support for mounting script when body does not exist.
---
README.md | 2 +-
package.json | 2 +-
src/steps.test.ts | 28 +++++++++++++++++++++++++++-
src/steps.ts | 7 ++++++-
4 files changed, 35 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index f818082..7ab8570 100644
--- a/README.md
+++ b/README.md
@@ -31,7 +31,7 @@ export default defineConfig({
});
```
-At the very least, you'll need to specify a remote page you'd like to proxy, as well as which local entry point Vite should inject onto the page.
+At the very least, you'll need to specify a remote page you'd like to proxy, as well as which local entry point Vite should inject onto the page. By default, this script tag will be injected just before the closing `
hello
hello