diff --git a/packages/editor/core/package.json b/packages/editor/core/package.json index 71acbb792..e9f857d8a 100644 --- a/packages/editor/core/package.json +++ b/packages/editor/core/package.json @@ -17,7 +17,7 @@ } }, "scripts": { - "build": "tsup", + "build": "tsup --minify", "dev": "tsup --watch", "check-types": "tsc --noEmit", "format": "prettier --write \"**/*.{ts,tsx,md}\"" @@ -80,4 +80,4 @@ "nextjs", "react" ] -} +} \ No newline at end of file diff --git a/packages/editor/document-editor/package.json b/packages/editor/document-editor/package.json index 4e0eeffb2..c716536da 100644 --- a/packages/editor/document-editor/package.json +++ b/packages/editor/document-editor/package.json @@ -16,7 +16,7 @@ } }, "scripts": { - "build": "tsup", + "build": "tsup --minify", "dev": "tsup --watch", "check-types": "tsc --noEmit", "format": "prettier --write \"**/*.{ts,tsx,md}\"" @@ -63,4 +63,4 @@ "nextjs", "react" ] -} +} \ No newline at end of file diff --git a/packages/editor/extensions/package.json b/packages/editor/extensions/package.json index 861100a47..b106b8517 100644 --- a/packages/editor/extensions/package.json +++ b/packages/editor/extensions/package.json @@ -17,7 +17,7 @@ } }, "scripts": { - "build": "tsup", + "build": "tsup --minify", "dev": "tsup --watch", "check-types": "tsc --noEmit" }, @@ -57,4 +57,4 @@ "nextjs", "react" ] -} +} \ No newline at end of file diff --git a/packages/editor/lite-text-editor/package.json b/packages/editor/lite-text-editor/package.json index 89955cc5d..00efc08ea 100644 --- a/packages/editor/lite-text-editor/package.json +++ b/packages/editor/lite-text-editor/package.json @@ -17,7 +17,7 @@ } }, "scripts": { - "build": "tsup", + "build": "tsup --minify", "dev": "tsup --watch", "check-types": "tsc --noEmit", "format": "prettier --write \"**/*.{ts,tsx,md}\"" @@ -52,4 +52,4 @@ "nextjs", "react" ] -} +} \ No newline at end of file diff --git a/packages/editor/rich-text-editor/package.json b/packages/editor/rich-text-editor/package.json index 43fd9ca0b..86ada4668 100644 --- a/packages/editor/rich-text-editor/package.json +++ b/packages/editor/rich-text-editor/package.json @@ -17,7 +17,7 @@ } }, "scripts": { - "build": "tsup", + "build": "tsup --minify", "dev": "tsup --watch", "check-types": "tsc --noEmit", "format": "prettier --write \"**/*.{ts,tsx,md}\"" @@ -55,4 +55,4 @@ "nextjs", "react" ] -} +} \ No newline at end of file diff --git a/packages/editor/types/package.json b/packages/editor/types/package.json index 9f63213b9..ebf25be6a 100644 --- a/packages/editor/types/package.json +++ b/packages/editor/types/package.json @@ -17,7 +17,7 @@ } }, "scripts": { - "build": "tsup", + "build": "tsup --minify", "dev": "tsup --watch", "check-types": "tsc --noEmit" }, @@ -48,4 +48,4 @@ "nextjs", "react" ] -} +} \ No newline at end of file diff --git a/packages/ui/package.json b/packages/ui/package.json index 06b2e4039..52ae9522a 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -12,7 +12,7 @@ "dist/**" ], "scripts": { - "build": "tsup src/index.ts --format esm,cjs --dts --external react", + "build": "tsup src/index.ts --format esm,cjs --dts --external react --minify", "dev": "tsup src/index.ts --format esm,cjs --watch --dts --external react", "lint": "eslint src/", "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" @@ -38,4 +38,4 @@ "react-color": "^2.19.3", "react-popper": "^2.3.0" } -} +} \ No newline at end of file