Skip to content

Commit

Permalink
Chore: simplify plugin import syntax (#3090)
Browse files Browse the repository at this point in the history
* fixed exports map for plugin imports

* restored previous export map
  • Loading branch information
ffxsam authored Aug 9, 2023
1 parent 03b3265 commit 2313458
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@
"types": "./dist/plugins/*.d.ts",
"require": "./dist/plugins/*.cjs"
},
"./plugins/*": {
"import": "./dist/plugins/*.esm.js",
"types": "./dist/plugins/*.d.ts",
"require": "./dist/plugins/*.cjs"
},
"./dist/*": {
"import": "./dist/*"
}
Expand Down

0 comments on commit 2313458

Please sign in to comment.