Skip to content

Commit

Permalink
fix(theme): implement 'exports' field in themes/theme/package.json (#708
Browse files Browse the repository at this point in the history
)

Partial fix for #613 and #680.
  • Loading branch information
aspiers authored Dec 16, 2024
1 parent ab89f28 commit 4edca1d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions themes/theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.tsx --use-babel",
"build": "tsbb build src/*.tsx --use-babel"
Expand Down

0 comments on commit 4edca1d

Please sign in to comment.