Skip to content

Commit

Permalink
fix: add exports to package.json (#366)
Browse files Browse the repository at this point in the history
* Revert "Revert "fix: add exports to package.json (#364)" (#365)"

This reverts commit b067923.

* Create lucky-bikes-matter.md
  • Loading branch information
ota-meshi authored Apr 26, 2024
1 parent b067923 commit 31f64dd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/lucky-bikes-matter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"eslint-plugin-astro": patch
---

fix: add exports to package.json
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
"description": "ESLint plugin for Astro component",
"main": "lib/index.js",
"module": "lib/index.mjs",
"exports": {
".": {
"import": "./lib/index.mjs",
"require": "./lib/index.js"
},
"./package.json": "./package.json"
},
"files": [
"lib"
],
Expand Down

0 comments on commit 31f64dd

Please sign in to comment.