Skip to content

Commit

Permalink
fix: correct module and main entry points in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
gronxb committed Nov 4, 2024
1 parent 1b4c09d commit 79510ad
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
"name": "@webview-bridge/root",
"private": true,
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"packages:publish": "pnpm clear && pnpm --filter './packages/**' publish",
"build": "nx run-many --target=build --projects=packages/*",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "1.7.1",
"type": "module",
"description": "Fully Type-Safe Integration for React Native WebView and Web",
"main": "dist/index.js",
"module": "dist/index.cjs",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"react-native": "src/index.ts",
"exports": {
Expand Down
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"dist",
"package.json"
],
"main": "dist/index.js",
"module": "dist/index.cjs",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"package.json"
],
"react-native": "src/index.ts",
"main": "dist/index.js",
"module": "dist/index.cjs",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
Expand Down
4 changes: 2 additions & 2 deletions packages/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"dist",
"package.json"
],
"main": "dist/index.js",
"module": "dist/index.cjs",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
Expand Down

0 comments on commit 79510ad

Please sign in to comment.