-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
629 additions
and
24 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
..._tests__/fixtures/isomorphic-bundle-splitting/__snapshots__/build.expected.loading.0.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<script | ||
async="" | ||
crossorigin="" | ||
src="/assets/class-[hash].marko-[hash].js" | ||
type="module" | ||
/> |
21 changes: 21 additions & 0 deletions
21
..._tests__/fixtures/isomorphic-bundle-splitting/__snapshots__/build.expected.loading.1.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<script | ||
async="" | ||
crossorigin="" | ||
src="/assets/class-[hash].marko-[hash].js" | ||
type="module" | ||
/> | ||
<link | ||
crossorigin="" | ||
href="/assets/modulepreload-[hash].js" | ||
rel="modulepreload" | ||
/> | ||
<div | ||
id="clickable" | ||
> | ||
Mounted: false Clicks: 0 | ||
</div> | ||
<div | ||
id="clickable" | ||
> | ||
Mounted: false Clicks: 0 | ||
</div> |
21 changes: 21 additions & 0 deletions
21
..._tests__/fixtures/isomorphic-bundle-splitting/__snapshots__/build.expected.loading.2.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<script | ||
async="" | ||
crossorigin="" | ||
src="/assets/class-[hash].marko-[hash].js" | ||
type="module" | ||
/> | ||
<link | ||
crossorigin="" | ||
href="/assets/modulepreload-[hash].js" | ||
rel="modulepreload" | ||
/> | ||
<div | ||
id="clickable" | ||
> | ||
Mounted: true Clicks: 0 | ||
</div> | ||
<div | ||
id="clickable" | ||
> | ||
Mounted: true Clicks: 0 | ||
</div> |
32 changes: 32 additions & 0 deletions
32
..._tests__/fixtures/isomorphic-bundle-splitting/__snapshots__/build.expected.loading.3.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<script | ||
async="" | ||
crossorigin="" | ||
src="/assets/class-[hash].marko-[hash].js" | ||
type="module" | ||
/> | ||
<link | ||
crossorigin="" | ||
href="/assets/modulepreload-[hash].js" | ||
rel="modulepreload" | ||
/> | ||
<div | ||
id="clickable" | ||
> | ||
Mounted: true Clicks: 0 | ||
</div> | ||
<script | ||
async="" | ||
crossorigin="" | ||
src="/assets/class-[hash].marko-[hash].js" | ||
type="module" | ||
/> | ||
<link | ||
crossorigin="" | ||
href="/assets/modulepreload-[hash].js" | ||
rel="modulepreload" | ||
/> | ||
<div | ||
id="clickable" | ||
> | ||
Mounted: true Clicks: 0 | ||
</div> |
21 changes: 21 additions & 0 deletions
21
...__tests__/fixtures/isomorphic-bundle-splitting/__snapshots__/build.expected.step-0.0.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<script | ||
async="" | ||
crossorigin="" | ||
src="/assets/class-[hash].marko-[hash].js" | ||
type="module" | ||
/> | ||
<link | ||
crossorigin="" | ||
href="/assets/modulepreload-[hash].js" | ||
rel="modulepreload" | ||
/> | ||
<div | ||
id="clickable" | ||
> | ||
Mounted: true Clicks: 1 | ||
</div> | ||
<div | ||
id="clickable" | ||
> | ||
Mounted: true Clicks: 0 | ||
</div> |
8 changes: 8 additions & 0 deletions
8
src/__tests__/fixtures/isomorphic-bundle-splitting/__snapshots__/dev.expected.loading.0.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<script | ||
async="" | ||
blocking="render" | ||
class="marko-vite-preload" | ||
type="module" | ||
> | ||
import "/@vite/client";import "/src/components/class-[hash].marko?marko-browser-entry";document.querySelectorAll('.marko-vite-preload').forEach((el) => el.remove());document.documentElement.style.visibility='';if(document.documentElement.getAttribute('style')==='')document.documentElement.removeAttribute('style'); | ||
</script> |
13 changes: 13 additions & 0 deletions
13
src/__tests__/fixtures/isomorphic-bundle-splitting/__snapshots__/dev.expected.loading.1.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<script | ||
async="" | ||
blocking="render" | ||
class="marko-vite-preload" | ||
type="module" | ||
> | ||
import "/@vite/client";import "/src/components/class-[hash].marko?marko-browser-entry";document.querySelectorAll('.marko-vite-preload').forEach((el) => el.remove());document.documentElement.style.visibility='';if(document.documentElement.getAttribute('style')==='')document.documentElement.removeAttribute('style'); | ||
</script> | ||
<script | ||
class="marko-vite-preload" | ||
> | ||
document.documentElement.style.visibility='hidden' | ||
</script> |
33 changes: 33 additions & 0 deletions
33
...__tests__/fixtures/isomorphic-bundle-splitting/__snapshots__/dev.expected.loading.10.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<script | ||
src="/@vite/client" | ||
type="module" | ||
/> | ||
<div | ||
id="clickable" | ||
> | ||
Mounted: true Clicks: 0 | ||
</div> | ||
<script | ||
async="" | ||
src="/src/template.marko?marko-browser-entry" | ||
type="module" | ||
/> | ||
<script | ||
async="" | ||
src="/src/components/class-[hash].marko?marko-browser-entry" | ||
type="module" | ||
/> | ||
<script | ||
src="/@vite/client" | ||
type="module" | ||
/> | ||
<div | ||
id="clickable" | ||
> | ||
Mounted: true Clicks: 0 | ||
</div> | ||
<script | ||
async="" | ||
src="/src/components/class-[hash].marko?marko-browser-entry" | ||
type="module" | ||
/> |
23 changes: 23 additions & 0 deletions
23
src/__tests__/fixtures/isomorphic-bundle-splitting/__snapshots__/dev.expected.loading.2.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<script | ||
async="" | ||
blocking="render" | ||
class="marko-vite-preload" | ||
type="module" | ||
> | ||
import "/@vite/client";import "/src/components/class-[hash].marko?marko-browser-entry";document.querySelectorAll('.marko-vite-preload').forEach((el) => el.remove());document.documentElement.style.visibility='';if(document.documentElement.getAttribute('style')==='')document.documentElement.removeAttribute('style'); | ||
</script> | ||
<script | ||
class="marko-vite-preload" | ||
> | ||
document.documentElement.style.visibility='hidden' | ||
</script> | ||
<div | ||
id="clickable" | ||
> | ||
Mounted: false Clicks: 0 | ||
</div> | ||
<script | ||
async="" | ||
src="/src/template.marko?marko-browser-entry" | ||
type="module" | ||
/> |
28 changes: 28 additions & 0 deletions
28
src/__tests__/fixtures/isomorphic-bundle-splitting/__snapshots__/dev.expected.loading.3.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<script | ||
async="" | ||
blocking="render" | ||
class="marko-vite-preload" | ||
type="module" | ||
> | ||
import "/@vite/client";import "/src/components/class-[hash].marko?marko-browser-entry";document.querySelectorAll('.marko-vite-preload').forEach((el) => el.remove());document.documentElement.style.visibility='';if(document.documentElement.getAttribute('style')==='')document.documentElement.removeAttribute('style'); | ||
</script> | ||
<script | ||
class="marko-vite-preload" | ||
> | ||
document.documentElement.style.visibility='hidden' | ||
</script> | ||
<div | ||
id="clickable" | ||
> | ||
Mounted: false Clicks: 0 | ||
</div> | ||
<script | ||
async="" | ||
src="/src/template.marko?marko-browser-entry" | ||
type="module" | ||
/> | ||
<script | ||
async="" | ||
src="/src/components/class-[hash].marko?marko-browser-entry" | ||
type="module" | ||
/> |
36 changes: 36 additions & 0 deletions
36
src/__tests__/fixtures/isomorphic-bundle-splitting/__snapshots__/dev.expected.loading.4.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<script | ||
async="" | ||
blocking="render" | ||
class="marko-vite-preload" | ||
type="module" | ||
> | ||
import "/@vite/client";import "/src/components/class-[hash].marko?marko-browser-entry";document.querySelectorAll('.marko-vite-preload').forEach((el) => el.remove());document.documentElement.style.visibility='';if(document.documentElement.getAttribute('style')==='')document.documentElement.removeAttribute('style'); | ||
</script> | ||
<script | ||
class="marko-vite-preload" | ||
> | ||
document.documentElement.style.visibility='hidden' | ||
</script> | ||
<div | ||
id="clickable" | ||
> | ||
Mounted: false Clicks: 0 | ||
</div> | ||
<script | ||
async="" | ||
src="/src/template.marko?marko-browser-entry" | ||
type="module" | ||
/> | ||
<script | ||
async="" | ||
src="/src/components/class-[hash].marko?marko-browser-entry" | ||
type="module" | ||
/> | ||
<script | ||
async="" | ||
blocking="render" | ||
class="marko-vite-preload" | ||
type="module" | ||
> | ||
import "/@vite/client";import "/src/components/class-[hash].marko?marko-browser-entry";document.querySelectorAll('.marko-vite-preload').forEach((el) => el.remove());document.documentElement.style.visibility='';if(document.documentElement.getAttribute('style')==='')document.documentElement.removeAttribute('style'); | ||
</script> |
41 changes: 41 additions & 0 deletions
41
src/__tests__/fixtures/isomorphic-bundle-splitting/__snapshots__/dev.expected.loading.5.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<script | ||
async="" | ||
blocking="render" | ||
class="marko-vite-preload" | ||
type="module" | ||
> | ||
import "/@vite/client";import "/src/components/class-[hash].marko?marko-browser-entry";document.querySelectorAll('.marko-vite-preload').forEach((el) => el.remove());document.documentElement.style.visibility='';if(document.documentElement.getAttribute('style')==='')document.documentElement.removeAttribute('style'); | ||
</script> | ||
<script | ||
class="marko-vite-preload" | ||
> | ||
document.documentElement.style.visibility='hidden' | ||
</script> | ||
<div | ||
id="clickable" | ||
> | ||
Mounted: false Clicks: 0 | ||
</div> | ||
<script | ||
async="" | ||
src="/src/template.marko?marko-browser-entry" | ||
type="module" | ||
/> | ||
<script | ||
async="" | ||
src="/src/components/class-[hash].marko?marko-browser-entry" | ||
type="module" | ||
/> | ||
<script | ||
async="" | ||
blocking="render" | ||
class="marko-vite-preload" | ||
type="module" | ||
> | ||
import "/@vite/client";import "/src/components/class-[hash].marko?marko-browser-entry";document.querySelectorAll('.marko-vite-preload').forEach((el) => el.remove());document.documentElement.style.visibility='';if(document.documentElement.getAttribute('style')==='')document.documentElement.removeAttribute('style'); | ||
</script> | ||
<script | ||
class="marko-vite-preload" | ||
> | ||
document.documentElement.style.visibility='hidden' | ||
</script> |
46 changes: 46 additions & 0 deletions
46
src/__tests__/fixtures/isomorphic-bundle-splitting/__snapshots__/dev.expected.loading.6.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<script | ||
async="" | ||
blocking="render" | ||
class="marko-vite-preload" | ||
type="module" | ||
> | ||
import "/@vite/client";import "/src/components/class-[hash].marko?marko-browser-entry";document.querySelectorAll('.marko-vite-preload').forEach((el) => el.remove());document.documentElement.style.visibility='';if(document.documentElement.getAttribute('style')==='')document.documentElement.removeAttribute('style'); | ||
</script> | ||
<script | ||
class="marko-vite-preload" | ||
> | ||
document.documentElement.style.visibility='hidden' | ||
</script> | ||
<div | ||
id="clickable" | ||
> | ||
Mounted: false Clicks: 0 | ||
</div> | ||
<script | ||
async="" | ||
src="/src/template.marko?marko-browser-entry" | ||
type="module" | ||
/> | ||
<script | ||
async="" | ||
src="/src/components/class-[hash].marko?marko-browser-entry" | ||
type="module" | ||
/> | ||
<script | ||
async="" | ||
blocking="render" | ||
class="marko-vite-preload" | ||
type="module" | ||
> | ||
import "/@vite/client";import "/src/components/class-[hash].marko?marko-browser-entry";document.querySelectorAll('.marko-vite-preload').forEach((el) => el.remove());document.documentElement.style.visibility='';if(document.documentElement.getAttribute('style')==='')document.documentElement.removeAttribute('style'); | ||
</script> | ||
<script | ||
class="marko-vite-preload" | ||
> | ||
document.documentElement.style.visibility='hidden' | ||
</script> | ||
<div | ||
id="clickable" | ||
> | ||
Mounted: false Clicks: 0 | ||
</div> |
20 changes: 20 additions & 0 deletions
20
src/__tests__/fixtures/isomorphic-bundle-splitting/__snapshots__/dev.expected.loading.7.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<div | ||
id="clickable" | ||
> | ||
Mounted: false Clicks: 0 | ||
</div> | ||
<script | ||
async="" | ||
src="/src/template.marko?marko-browser-entry" | ||
type="module" | ||
/> | ||
<script | ||
async="" | ||
src="/src/components/class-[hash].marko?marko-browser-entry" | ||
type="module" | ||
/> | ||
<div | ||
id="clickable" | ||
> | ||
Mounted: false Clicks: 0 | ||
</div> |
20 changes: 20 additions & 0 deletions
20
src/__tests__/fixtures/isomorphic-bundle-splitting/__snapshots__/dev.expected.loading.8.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<div | ||
id="clickable" | ||
> | ||
Mounted: true Clicks: 0 | ||
</div> | ||
<script | ||
async="" | ||
src="/src/template.marko?marko-browser-entry" | ||
type="module" | ||
/> | ||
<script | ||
async="" | ||
src="/src/components/class-[hash].marko?marko-browser-entry" | ||
type="module" | ||
/> | ||
<div | ||
id="clickable" | ||
> | ||
Mounted: true Clicks: 0 | ||
</div> |
Oops, something went wrong.