File tree Expand file tree Collapse file tree
packages/css-syntax-patches-for-csstree Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments