diff --git a/.changeset/loud-otters-destroy.md b/.changeset/loud-otters-destroy.md new file mode 100644 index 0000000000..8c0d7b2931 --- /dev/null +++ b/.changeset/loud-otters-destroy.md @@ -0,0 +1,8 @@ +--- +'@directus/constants': patch +'@directus/utils': patch +'@directus/composables': patch +'@directus/exceptions': patch +--- + +Marked the `constant`, `utils`, `composables` and `exceptions` packages as side effects free to shrink size of API extensions using Typescript diff --git a/packages/composables/package.json b/packages/composables/package.json index 59b9cda5bd..2114abf4cb 100644 --- a/packages/composables/package.json +++ b/packages/composables/package.json @@ -2,6 +2,7 @@ "name": "@directus/composables", "version": "10.0.0", "type": "module", + "sideEffects": false, "scripts": { "build": "tsc --build", "dev": "tsc --watch", diff --git a/packages/constants/package.json b/packages/constants/package.json index 51dd783980..e969616a3a 100644 --- a/packages/constants/package.json +++ b/packages/constants/package.json @@ -2,6 +2,7 @@ "name": "@directus/constants", "version": "10.0.0", "type": "module", + "sideEffects": false, "scripts": { "build": "tsc --build", "dev": "tsc --watch" diff --git a/packages/exceptions/package.json b/packages/exceptions/package.json index 5c8e7fc373..fb67ca2308 100644 --- a/packages/exceptions/package.json +++ b/packages/exceptions/package.json @@ -2,6 +2,7 @@ "name": "@directus/exceptions", "version": "10.0.0", "type": "module", + "sideEffects": false, "scripts": { "build": "tsc --build", "dev": "tsc --watch", diff --git a/packages/utils/package.json b/packages/utils/package.json index 23aae9484e..0105203fb9 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -2,6 +2,7 @@ "name": "@directus/utils", "version": "10.0.0", "type": "module", + "sideEffects": false, "scripts": { "build": "tsc --project browser/tsconfig.json && tsc --project node/tsconfig.json && tsc --project shared/tsconfig.json", "dev": "concurrently \"tsc --watch --project browser/tsconfig.json\" \"tsc --watch --project node/tsconfig.json\" \"tsc --watch --project shared/tsconfig.json\"",