Skip to content

Commit b127e26

Browse files
committed
cleanup
1 parent 7fd1b55 commit b127e26

2 files changed

Lines changed: 5 additions & 14 deletions

File tree

.github/bin/format-package-json.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,10 @@ const formatted = {};
9090

9191
// Exports and packaged
9292
{
93+
formatted.main = packageJSONInfo.main;
9394
delete packageJSONInfo.main;
95+
96+
formatted.module = packageJSONInfo.module;
9497
delete packageJSONInfo.module;
9598

9699
formatted.bin = packageJSONInfo.bin;

packages/css-syntax-patches-for-csstree/package.json

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,8 @@
2424
"url": "https://opencollective.com/csstools"
2525
}
2626
],
27-
"exports": {
28-
".": {
29-
"types": "./dist/index.d.ts",
30-
"module": "./dist/index.json",
31-
"require": "./dist/index.json",
32-
"default": "./dist/index.json"
33-
},
34-
"./dist/index.json": {
35-
"types": "./dist/index.d.ts",
36-
"module": "./dist/index.json",
37-
"require": "./dist/index.json",
38-
"default": "./dist/index.json"
39-
}
40-
},
27+
"main": "dist/index.json",
28+
"types": "dist/index.d.ts",
4129
"files": [
4230
"CHANGELOG.md",
4331
"LICENSE.md",

0 commit comments

Comments
 (0)