Skip to content

Commit a2f597d

Browse files
authored
fix(check): Revert publint lint fix (withastro#15892)
1 parent de2860c commit a2f597d

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.changeset/tame-phones-run.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@astrojs/check': patch
3+
---
4+
5+
Fixes Astro not being able to find astro check sometimes

packages/language-tools/astro-check/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212
},
1313
"type": "module",
1414
"exports": {
15-
".": "./dist/index.js"
15+
".": {
16+
"require": "./dist/index.js",
17+
"default": "./dist/index.js"
18+
}
1619
},
1720
"bin": {
1821
"astro-check": "./bin/astro-check.js"

0 commit comments

Comments
 (0)