From c59bfdb9208657f42337c96a96503ca1b363f85e Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Tue, 1 Aug 2023 18:44:49 +0200 Subject: [PATCH] Remove unnecessary out folder --- packages/client/rollup.config.js | 4 ++-- packages/shared-core/package.json | 2 +- packages/shared-core/tsconfig.build.json | 2 +- packages/types/package.json | 2 +- packages/types/tsconfig.build.json | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/client/rollup.config.js b/packages/client/rollup.config.js index c22b928f10..35a5b7a6b9 100644 --- a/packages/client/rollup.config.js +++ b/packages/client/rollup.config.js @@ -25,11 +25,11 @@ const devPaths = production : [ { find: "@budibase/shared-core", - replacement: path.resolve("../shared-core/dist/mjs/src/index"), + replacement: path.resolve("../shared-core/dist/src/index"), }, { find: "@budibase/types", - replacement: path.resolve("../types/dist/mjs/index"), + replacement: path.resolve("../types/dist/index"), }, ] diff --git a/packages/shared-core/package.json b/packages/shared-core/package.json index f5a855ae7e..aaf59023df 100644 --- a/packages/shared-core/package.json +++ b/packages/shared-core/package.json @@ -6,7 +6,7 @@ "types": "src/index.ts", "exports": { ".": { - "import": "./dist/mjs/src/index.js" + "import": "./dist/src/index.js" } }, "author": "Budibase", diff --git a/packages/shared-core/tsconfig.build.json b/packages/shared-core/tsconfig.build.json index d76840d3de..9d3bffe235 100644 --- a/packages/shared-core/tsconfig.build.json +++ b/packages/shared-core/tsconfig.build.json @@ -11,7 +11,7 @@ "sourceMap": true, "declaration": true, "types": ["node"], - "outDir": "dist/mjs/src", + "outDir": "dist/src", "skipLibCheck": true }, "include": ["**/*.js", "**/*.ts"], diff --git a/packages/types/package.json b/packages/types/package.json index 6429bbbf21..04bd3bc1d1 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -6,7 +6,7 @@ "types": "src/index.ts", "exports": { ".": { - "import": "./dist/mjs/index.js" + "import": "./dist/index.js" } }, "author": "Budibase", diff --git a/packages/types/tsconfig.build.json b/packages/types/tsconfig.build.json index 33409409a8..f2c4c7667b 100644 --- a/packages/types/tsconfig.build.json +++ b/packages/types/tsconfig.build.json @@ -11,7 +11,7 @@ "sourceMap": true, "declaration": true, "skipLibCheck": true, - "outDir": "dist/mjs" + "outDir": "dist" }, "include": ["src/**/*"], "exclude": ["node_modules", "dist", "**/*.spec.ts", "**/*.spec.js"]