Remove unnecessary out folder

This commit is contained in:
Adria Navarro 2023-08-01 18:44:49 +02:00
parent 4b5751003f
commit c59bfdb920
5 changed files with 6 additions and 6 deletions

View File

@ -25,11 +25,11 @@ const devPaths = production
: [ : [
{ {
find: "@budibase/shared-core", find: "@budibase/shared-core",
replacement: path.resolve("../shared-core/dist/mjs/src/index"), replacement: path.resolve("../shared-core/dist/src/index"),
}, },
{ {
find: "@budibase/types", find: "@budibase/types",
replacement: path.resolve("../types/dist/mjs/index"), replacement: path.resolve("../types/dist/index"),
}, },
] ]

View File

@ -6,7 +6,7 @@
"types": "src/index.ts", "types": "src/index.ts",
"exports": { "exports": {
".": { ".": {
"import": "./dist/mjs/src/index.js" "import": "./dist/src/index.js"
} }
}, },
"author": "Budibase", "author": "Budibase",

View File

@ -11,7 +11,7 @@
"sourceMap": true, "sourceMap": true,
"declaration": true, "declaration": true,
"types": ["node"], "types": ["node"],
"outDir": "dist/mjs/src", "outDir": "dist/src",
"skipLibCheck": true "skipLibCheck": true
}, },
"include": ["**/*.js", "**/*.ts"], "include": ["**/*.js", "**/*.ts"],

View File

@ -6,7 +6,7 @@
"types": "src/index.ts", "types": "src/index.ts",
"exports": { "exports": {
".": { ".": {
"import": "./dist/mjs/index.js" "import": "./dist/index.js"
} }
}, },
"author": "Budibase", "author": "Budibase",

View File

@ -11,7 +11,7 @@
"sourceMap": true, "sourceMap": true,
"declaration": true, "declaration": true,
"skipLibCheck": true, "skipLibCheck": true,
"outDir": "dist/mjs" "outDir": "dist"
}, },
"include": ["src/**/*"], "include": ["src/**/*"],
"exclude": ["node_modules", "dist", "**/*.spec.ts", "**/*.spec.js"] "exclude": ["node_modules", "dist", "**/*.spec.ts", "**/*.spec.js"]