Skip to content

Commit

Permalink
Adding module entry to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
dake3601 authored Nov 8, 2023
1 parent 528caf4 commit d416853
Show file tree
Hide file tree
Showing 14 changed files with 27 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
"roosterjs-content-model-types": ""
},
"version": "0.0.0",
"main": "./lib/index.ts"
"main": "./lib/index.ts",
"module": "./lib-mjs/index.js"
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
"roosterjs-content-model-types": ""
},
"version": "0.0.0",
"main": "./lib/index.ts"
"main": "./lib/index.ts",
"module": "./lib-mjs/index.js"
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
"roosterjs-content-model-types": ""
},
"version": "0.0.0",
"main": "./lib/index.ts"
"main": "./lib/index.ts",
"module": "./lib-mjs/index.js"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"description": "Types for Content Model for roosterjs (Under development)",
"dependencies": {},
"version": "0.0.0",
"main": "./lib/index.ts"
"main": "./lib/index.ts",
"module": "./lib-mjs/index.js"
}
3 changes: 2 additions & 1 deletion packages-content-model/roosterjs-content-model/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
"roosterjs-color-utils": ""
},
"version": "0.0.0",
"main": "./lib/index.ts"
"main": "./lib/index.ts",
"module": "./lib-mjs/index.js"
}
3 changes: 2 additions & 1 deletion packages-ui/roosterjs-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@
"@fluentui/react": ">=8.0.0"
},
"version": "0.0.0",
"main": "./lib/index.ts"
"main": "./lib/index.ts",
"module": "./lib-mjs/index.js"
}
1 change: 1 addition & 0 deletions packages/roosterjs-color-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
"color": "^3.0.0"
},
"main": "./lib/index.ts",
"module": "./lib-mjs/index.js",
"version": "1.1.0"
}
3 changes: 2 additions & 1 deletion packages/roosterjs-editor-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"roosterjs-editor-dom": ""
},
"version": "0.0.0",
"main": "./lib/index.ts"
"main": "./lib/index.ts",
"module": "./lib-mjs/index.js"
}
3 changes: 2 additions & 1 deletion packages/roosterjs-editor-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"roosterjs-editor-dom": ""
},
"version": "0.0.0",
"main": "./lib/index.ts"
"main": "./lib/index.ts",
"module": "./lib-mjs/index.js"
}
3 changes: 2 additions & 1 deletion packages/roosterjs-editor-dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
"roosterjs-editor-types": ""
},
"version": "0.0.0",
"main": "./lib/index.ts"
"main": "./lib/index.ts",
"module": "./lib-mjs/index.js"
}
3 changes: 2 additions & 1 deletion packages/roosterjs-editor-plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
"roosterjs-editor-api": ""
},
"version": "0.0.0",
"main": "./lib/index.ts"
"main": "./lib/index.ts",
"module": "./lib-mjs/index.js"
}
3 changes: 2 additions & 1 deletion packages/roosterjs-editor-types-compatible/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"roosterjs-editor-types": ""
},
"version": "0.0.0",
"main": "./lib/index.ts"
"main": "./lib/index.ts",
"module": "./lib-mjs/index.js"
}
3 changes: 2 additions & 1 deletion packages/roosterjs-editor-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"description": "Type definition for roosterjs",
"dependencies": {},
"version": "0.0.0",
"main": "./lib/index.ts"
"main": "./lib/index.ts",
"module": "./lib-mjs/index.js"
}
3 changes: 2 additions & 1 deletion packages/roosterjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@
"roosterjs-color-utils": ""
},
"version": "0.0.0",
"main": "./lib/index.ts"
"main": "./lib/index.ts",
"module": "./lib-mjs/index.js"
}

0 comments on commit d416853

Please sign in to comment.