-
-
+{
+ /* Defining this div is only necessary
+ if you do not want to use the default element that holds the favicon image */
+}
+
diff --git a/integration/env.d.ts b/integration/env.d.ts
index 8c34fb4..f964fe0 100644
--- a/integration/env.d.ts
+++ b/integration/env.d.ts
@@ -1 +1 @@
-///
\ No newline at end of file
+///
diff --git a/integration/vite-plugin-extend.ts b/integration/vite-plugin-extend.ts
index 80cbe89..037dab3 100644
--- a/integration/vite-plugin-extend.ts
+++ b/integration/vite-plugin-extend.ts
@@ -18,7 +18,7 @@ export default function vitePluginVtbotExtend(opts: ExtendOptions): Plugin {
if (!import.meta.env.DEV) linter = false;
if ((!linter && !loading) || id.match(/vtpl[123]\.astro$/) || !id.endsWith('.astro')) return;
- const replacement = `"astro-vtbot/vtex${loading ? (linter ? "3" : "2") : "1"}"`;
+ const replacement = `"astro-vtbot/vtex${loading ? (linter ? '3' : '2') : '1'}"`;
const match = code.match(/from\s*['"]astro:transitions["']/ms);
if (match) {
const ast = parse(code, {
@@ -31,7 +31,7 @@ export default function vitePluginVtbotExtend(opts: ExtendOptions): Plugin {
if (node.type === 'ImportDeclaration' && node.source.value === 'astro:transitions') {
code =
code.substring(0, node.source.start) +
- replacement +
+ replacement +
code.substring(node.source.end);
}
},
diff --git a/integration/vtpl1.astro b/integration/vtpl1.astro
index 20cadfa..a167fcd 100644
--- a/integration/vtpl1.astro
+++ b/integration/vtpl1.astro
@@ -3,5 +3,5 @@ import { ViewTransitions } from 'astro:transitions';
import Linter from '../components/Linter.astro';
---
-
+
diff --git a/integration/vtpl2.astro b/integration/vtpl2.astro
index 19153e5..cbe61a3 100644
--- a/integration/vtpl2.astro
+++ b/integration/vtpl2.astro
@@ -3,5 +3,5 @@ import { ViewTransitions } from 'astro:transitions';
import LoadingIndicator from '../components/LoadingIndicator.astro';
---
-
+
diff --git a/integration/vtpl3.astro b/integration/vtpl3.astro
index 8dbfc45..747c40f 100644
--- a/integration/vtpl3.astro
+++ b/integration/vtpl3.astro
@@ -3,5 +3,5 @@ import VTPL from './vtpl1.astro';
import LoadingIndicator from '../components/LoadingIndicator.astro';
---
-
+