diff --git a/packages/shared-core/.npmignore b/packages/shared-core/.npmignore index 4926fbc5fd..268f19d4fe 100644 --- a/packages/shared-core/.npmignore +++ b/packages/shared-core/.npmignore @@ -1,3 +1,5 @@ -node_modules/ -tsconfig.build.json -tsconfig.json +* +!dist/* +dist/tsconfig.build.tsbuildinfo +!package.json +!LICENCE \ No newline at end of file diff --git a/packages/shared-core/package.json b/packages/shared-core/package.json index 4e7d568fcb..b097a46c57 100644 --- a/packages/shared-core/package.json +++ b/packages/shared-core/package.json @@ -2,14 +2,8 @@ "name": "@budibase/shared-core", "version": "0.0.0", "description": "Shared data utils", - "main": "src/index.ts", - "types": "src/index.ts", - "exports": { - ".": { - "import": "./dist/index.js", - "require": "./src/index.ts" - } - }, + "main": "dist/index.js", + "types": "dist/index.d.ts", "author": "Budibase", "license": "GPL-3.0", "scripts": {