-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert
tsconfig-alias
plugin changes (#6633)
* Revert "Fix tsconfig alias regression (#6617)" This reverts commit 38e6ec2. * chore: changeset * fix: add back fs * chore: remove stray console log * Revert "Support tsconfig aliases in styles (#6566)" This reverts commit ea9b3dd. * chore: add note on css style aliases
- Loading branch information
1 parent
58c612b
commit 9caf2a9
Showing
10 changed files
with
96 additions
and
101 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'astro': patch | ||
--- | ||
|
||
Fix failed `astro sync` call when running `astro check`. This change also reverts alias support in CSS styles. |
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
1 change: 0 additions & 1 deletion
1
packages/astro/test/fixtures/alias-tsconfig/src/components/Foo.astro
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
packages/astro/test/fixtures/alias-tsconfig/src/components/Style.astro
This file was deleted.
Oops, something went wrong.
31 changes: 11 additions & 20 deletions
31
packages/astro/test/fixtures/alias-tsconfig/src/pages/index.astro
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 |
---|---|---|
@@ -1,24 +1,15 @@ | ||
--- | ||
import Client from '@components/Client.svelte'; | ||
import Foo from 'src/components/Foo.astro'; | ||
import StyleComp from 'src/components/Style.astro'; | ||
import '@styles/main.css'; | ||
import { whoImI } from 'src/ts-file'; | ||
const mistery = whoImI(); | ||
import Client from '@components/Client.svelte' | ||
--- | ||
|
||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width" /> | ||
<title>Aliases using tsconfig</title> | ||
</head> | ||
<body> | ||
<main> | ||
<Client client:load /> | ||
<Foo /> | ||
<StyleComp /> | ||
<div id="mistery">{mistery}</div> | ||
</main> | ||
</body> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width" /> | ||
<title>Aliases using tsconfig</title> | ||
</head> | ||
<body> | ||
<main> | ||
<Client client:load /> | ||
</main> | ||
</body> | ||
</html> |
3 changes: 0 additions & 3 deletions
3
packages/astro/test/fixtures/alias-tsconfig/src/styles/extra.css
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
packages/astro/test/fixtures/alias-tsconfig/src/styles/main.css
This file was deleted.
Oops, something went wrong.
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