-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move astro-basic test to use static build (#2682)
* Move some tests over to the static build (#2677) * Move some tests over to the static build * Fix assets tests * Fix the assets tests * Fix for the client:only components * Moves asset tests to the static build * Move postcss test over to static build * Bring back legacy build for astro-basic test * Move astro-basic test to use static build
- Loading branch information
Showing
28 changed files
with
64 additions
and
228 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ import p2Url from '../images/penguin2.jpg?url'; | |
</style> | ||
<body> | ||
<h1>Icons</h1> | ||
<img src={Astro.resolve('../images/twitter.png')} srcset={`${Astro.resolve('../images/twitter.png')} 1x, ${Astro.resolve('../images/[email protected]')} 2x, ${Astro.resolve('../images/[email protected]')} 3x`} /> | ||
<img src={(await import('../images/twitter.png')).default} srcset={`${(await import('../images/twitter.png')).default} 1x, ${(await import('../images/[email protected]')).default} 2x, ${(await import('../images/[email protected]')).default} 3x`} /> | ||
<img srcset="https://ik.imagekit.io/demo/tr:w-300,h-300/medium_cafe_B1iTdD0C.jpg, https://ik.imagekit.io/demo/tr:w-450,h-450/medium_cafe_B1iTdD0C.jpg 600w, https://ik.imagekit.io/demo/tr:w-600,h-600/medium_cafe_B1iTdD0C.jpg 800w"> | ||
<img srcset="https://ik.imagekit.io/demo/tr:w-300,h-300/medium_cafe_B1iTdD0C.jpg, https://ik.imagekit.io/demo/tr:w-450,h-450/medium_cafe_B1iTdD0C.jpg 1.5x, https://ik.imagekit.io/demo/tr:w-600,h-600/medium_cafe_B1iTdD0C.jpg 2x"> | ||
<!-- | ||
|
11 changes: 0 additions & 11 deletions
11
packages/astro/test/fixtures/astro-components/src/components/Component.astro
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
packages/astro/test/fixtures/astro-components/src/components/Component.jsx
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
packages/astro/test/fixtures/astro-components/src/components/Component.svelte
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
packages/astro/test/fixtures/astro-components/src/components/Component.vue
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
packages/astro/test/fixtures/astro-components/src/components/Props-Component.astro
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
packages/astro/test/fixtures/astro-components/src/pages/client.astro
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
packages/astro/test/fixtures/astro-components/src/pages/frontmatter-component.astro
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
packages/astro/test/fixtures/astro-components/src/pages/index.astro
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
packages/astro/test/fixtures/astro-components/src/pages/props-shadowing.astro
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.