Skip to content

Commit

Permalink
feat: export as esm, ref leather-io/issues#62
Browse files Browse the repository at this point in the history
  • Loading branch information
pete-watters committed May 29, 2024
1 parent 0161799 commit 6dfab53
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ dist-native/
dist-all/
dist-web/
.turbo/
leather-styles/
2 changes: 1 addition & 1 deletion packages/panda-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"tsup": "8.0.1"
},
"exports": {
".": "./dist/preset.cjs"
".": "./dist/preset.js"
},
"publishConfig": {
"access": "public"
Expand Down
1 change: 1 addition & 0 deletions packages/panda-preset/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ import { defineConfig } from 'tsup';

export default defineConfig({
entry: ['src/preset.ts'],
format: ['esm'],
});

0 comments on commit 6dfab53

Please sign in to comment.