Skip to content

Commit

Permalink
add preview cjs+mjs export maps to addon-essentials
Browse files Browse the repository at this point in the history
  • Loading branch information
JReinhold committed Mar 13, 2024
1 parent 5f241d3 commit 2562b13
Showing 1 changed file with 35 additions and 7 deletions.
42 changes: 35 additions & 7 deletions code/addons/essentials/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,50 @@
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./actions/preview": "./dist/actions/preview.js",
"./actions/preview": {
"types": "./dist/actions/preview.d.ts",
"import": "./dist/actions/preview.mjs",
"require": "./dist/actions/preview.js"
},
"./actions/manager": "./dist/actions/manager.js",
"./backgrounds/preview": "./dist/backgrounds/preview.js",
"./backgrounds/preview": {
"types": "./dist/backgrounds/preview.d.ts",
"import": "./dist/backgrounds/preview.mjs",
"require": "./dist/backgrounds/preview.js"
},
"./backgrounds/manager": "./dist/backgrounds/manager.js",
"./controls/manager": "./dist/controls/manager.js",
"./docs/preview": "./dist/docs/preview.js",
"./docs/preview": {
"types": "./dist/docs/preview.d.ts",
"import": "./dist/docs/preview.mjs",
"require": "./dist/docs/preview.js"
},
"./docs/preset": "./dist/docs/preset.js",
"./docs/mdx-react-shim": "./dist/docs/mdx-react-shim.js",
"./highlight/preview": "./dist/highlight/preview.js",
"./measure/preview": "./dist/measure/preview.js",
"./highlight/preview": {
"types": "./dist/highlight/preview.d.ts",
"import": "./dist/highlight/preview.mjs",
"require": "./dist/highlight/preview.js"
},
"./measure/preview": {
"types": "./dist/measure/preview.d.ts",
"import": "./dist/measure/preview.mjs",
"require": "./dist/measure/preview.js"
},
"./measure/manager": "./dist/measure/manager.js",
"./outline/preview": "./dist/outline/preview.js",
"./outline/preview": {
"types": "./dist/outline/preview.d.ts",
"import": "./dist/outline/preview.mjs",
"require": "./dist/outline/preview.js"
},
"./outline/manager": "./dist/outline/manager.js",
"./toolbars/manager": "./dist/toolbars/manager.js",
"./viewport/manager": "./dist/viewport/manager.js",
"./viewport/preview": "./dist/viewport/preview.js",
"./viewport/preview": {
"types": "./dist/viewport/preview.d.ts",
"import": "./dist/viewport/preview.mjs",
"require": "./dist/viewport/preview.js"
},
"./package.json": "./package.json"
},
"main": "dist/index.js",
Expand Down

0 comments on commit 2562b13

Please sign in to comment.