summaryrefslogtreecommitdiff
path: root/examples/with-vite-plugin-pwa/src
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthew@skypack.dev> 2022-02-23 08:41:10 -0500
committerGravatar GitHub <noreply@github.com> 2022-02-23 08:41:10 -0500
commit2ad88a9235ea2cb92e0b628c40e375ebe7095176 (patch)
tree5e652bbde478e86565cecbbbdf25e02a4550ba27 /examples/with-vite-plugin-pwa/src
parenta81660e39a4e6873693e0e7d787350ae08bbd370 (diff)
downloadastro-2ad88a9235ea2cb92e0b628c40e375ebe7095176.tar.gz
astro-2ad88a9235ea2cb92e0b628c40e375ebe7095176.tar.zst
astro-2ad88a9235ea2cb92e0b628c40e375ebe7095176.zip
Run all smoke tests with the static build (#2609)
* Run all smoke tests with the static build * Use a direct relative path * Always use the static build * Use a path that works in both static and regualr build * Always download the zip * astro.build only needs to run once
Diffstat (limited to 'examples/with-vite-plugin-pwa/src')
-rw-r--r--examples/with-vite-plugin-pwa/src/pages/index.astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/with-vite-plugin-pwa/src/pages/index.astro b/examples/with-vite-plugin-pwa/src/pages/index.astro
index 7fdcc305e..19ca25700 100644
--- a/examples/with-vite-plugin-pwa/src/pages/index.astro
+++ b/examples/with-vite-plugin-pwa/src/pages/index.astro
@@ -11,6 +11,6 @@
<body>
<h1>Welcome to <a href="https://astro.build/">Astro</a></h1>
- <script src={Astro.resolve('../index.ts')} type="module" hoist></script>
+ <script src="/src/index.ts" type="module" hoist></script>
</body>
</html>