Skip to content

Commit

Permalink
Fix CJS entrypoint for manager code, and drop some unused things
Browse files Browse the repository at this point in the history
  • Loading branch information
ghengeveld committed Sep 3, 2024
1 parent 63803c9 commit 23bf17c
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion manager.js

This file was deleted.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"require": "./dist/index.js"
},
"./manager": {
"types": "./dist/manager.d.ts",
"import": "./dist/manager.mjs",
"require": "./dist/manager.js"
},
Expand All @@ -39,7 +38,6 @@
"./package.json": "./package.json"
},
"files": [
"*.js",
"dist/**/*"
],
"scripts": {
Expand Down
1 change: 0 additions & 1 deletion preview.js

This file was deleted.

2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default defineConfig(async (options) => {
configs.push({
...commonConfig,
entry: managerEntries,
format: ["esm"],
format: ["esm", "cjs"],
target: BROWSER_TARGET,
platform: "browser",
external: globalManagerPackages,
Expand Down

0 comments on commit 23bf17c

Please sign in to comment.