Skip to content

Commit ced0b1a

Browse files
committedDec 16, 2024·
fix(theme): implement 'exports' field in themes/*/package.json #708 #613 #680
1 parent 4edca1d commit ced0b1a

File tree

41 files changed

+287
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+287
-0
lines changed
 

‎extensions/classname/package.json

+7
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88
"license": "MIT",
99
"main": "./cjs/index.js",
1010
"module": "./esm/index.js",
11+
"exports": {
12+
".": {
13+
"require": "./cjs/index.js",
14+
"import": "./esm/index.js"
15+
},
16+
"./*": "./*"
17+
},
1118
"scripts": {
1219
"watch": "tsbb watch src/*.ts --use-babel",
1320
"build": "tsbb build src/*.ts --use-babel"

‎extensions/color/package.json

+7
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88
"license": "MIT",
99
"main": "./cjs/index.js",
1010
"module": "./esm/index.js",
11+
"exports": {
12+
".": {
13+
"require": "./cjs/index.js",
14+
"import": "./esm/index.js"
15+
},
16+
"./*": "./*"
17+
},
1118
"scripts": {
1219
"watch": "tsbb watch src/*.ts --use-babel",
1320
"build": "tsbb build src/*.ts --use-babel"

0 commit comments

Comments
 (0)
Please sign in to comment.