diff --git a/manager.js b/manager.js deleted file mode 100644 index 95565a7..0000000 --- a/manager.js +++ /dev/null @@ -1 +0,0 @@ -import "./dist/manager.mjs" diff --git a/package.json b/package.json index 0199c17..a9bef81 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,6 @@ "require": "./dist/index.js" }, "./manager": { - "types": "./dist/manager.d.ts", "import": "./dist/manager.mjs", "require": "./dist/manager.js" }, @@ -39,7 +38,6 @@ "./package.json": "./package.json" }, "files": [ - "*.js", "dist/**/*" ], "scripts": { diff --git a/preview.js b/preview.js deleted file mode 100644 index 0212703..0000000 --- a/preview.js +++ /dev/null @@ -1 +0,0 @@ -export * from "./dist/preview.mjs" diff --git a/tsup.config.ts b/tsup.config.ts index 3c9d01a..5e1bdc8 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -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,