Skip to content

Commit

Permalink
feat: add explicit rsc and css exports
Browse files Browse the repository at this point in the history
  • Loading branch information
4leite authored Nov 14, 2023
1 parent 39005a4 commit 0b6a527
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@
"private": false,
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./rsc": {
"import": "./dist/rsc.js",
"require": "./dist/rsc.js",
"types": "./dist/rsc.d.ts"
},
"./puck.css": "./dist/index.css",
"./dist/index.css": "./dist/index.css"
},
"license": "MIT",
"scripts": {
"lint": "eslint \"**/*.ts*\"",
Expand Down

0 comments on commit 0b6a527

Please sign in to comment.