diff --git a/packages/plugins/components/package.json b/packages/plugins/components/package.json index 67b924f40..92a91613e 100644 --- a/packages/plugins/components/package.json +++ b/packages/plugins/components/package.json @@ -13,8 +13,8 @@ }, "scripts": { "build": "yarn build:esm && yarn build:cjs", - "build:esm": "tsc --module esnext --outDir lib/esm -p ./tsconfig.build.json", - "build:cjs": "tsc -p ./tsconfig.build.json", + "build:esm": "tsc --module esnext --outDir lib/esm --project ./tsconfig.build.json", + "build:cjs": "tsc --project ./tsconfig.build.json", "test": "NODE_ENV=test jest" }, "dependencies": { diff --git a/packages/plugins/components/tsconfig.build.json b/packages/plugins/components/tsconfig.build.json index 9bee7b830..b48c439cd 100644 --- a/packages/plugins/components/tsconfig.build.json +++ b/packages/plugins/components/tsconfig.build.json @@ -3,9 +3,10 @@ "exclude": [ // files excluded from the build, we can not put it inro default tsconfig // as it will screw VSCode IntelliSence - "**/__mocks__", "**/test", "**/mocks", + "**/__mocks__", + "**/__stories__", "src/**/*.spec.*", "src/**/*.test.*", "src/**/*.mock.*", diff --git a/packages/zapp/console/tsconfig.build.json b/packages/zapp/console/tsconfig.build.json index 9bee7b830..b48c439cd 100644 --- a/packages/zapp/console/tsconfig.build.json +++ b/packages/zapp/console/tsconfig.build.json @@ -3,9 +3,10 @@ "exclude": [ // files excluded from the build, we can not put it inro default tsconfig // as it will screw VSCode IntelliSence - "**/__mocks__", "**/test", "**/mocks", + "**/__mocks__", + "**/__stories__", "src/**/*.spec.*", "src/**/*.test.*", "src/**/*.mock.*",