From a0c4005dbae0ed9ad750e2c39de8d006c74799f7 Mon Sep 17 00:00:00 2001 From: jigsawye Date: Mon, 12 Oct 2020 12:36:19 +0800 Subject: [PATCH] fix: sub module typing --- formik/package.json | 4 +++- lab/package.json | 4 +++- theme/package.json | 4 +++- utils/package.json | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/formik/package.json b/formik/package.json index 1f61a32a..228190e0 100644 --- a/formik/package.json +++ b/formik/package.json @@ -2,5 +2,7 @@ "private": true, "name": "tailor-ui/formik", "main": "../lib/formik/index.cjs.js", - "module": "../lib/formik/index.js" + "module": "../lib/formik/index.js", + "sideEffects": false, + "typings": "lib/formik/index.d.ts" } diff --git a/lab/package.json b/lab/package.json index c8733d94..e977cf35 100644 --- a/lab/package.json +++ b/lab/package.json @@ -2,5 +2,7 @@ "private": true, "name": "tailor-ui/lab", "main": "../lib/lab/index.cjs.js", - "module": "../lib/lab/index.js" + "module": "../lib/lab/index.js", + "sideEffects": false, + "typings": "lib/lab/index.d.ts" } diff --git a/theme/package.json b/theme/package.json index 794e4787..dd73c09e 100644 --- a/theme/package.json +++ b/theme/package.json @@ -2,5 +2,7 @@ "private": true, "name": "tailor-ui/theme", "main": "../lib/theme/index.cjs.js", - "module": "../lib/theme/index.js" + "module": "../lib/theme/index.js", + "sideEffects": false, + "typings": "lib/theme/index.d.ts" } diff --git a/utils/package.json b/utils/package.json index 3b7eee8e..a5ddb61d 100644 --- a/utils/package.json +++ b/utils/package.json @@ -2,5 +2,7 @@ "private": true, "name": "tailor-ui/utils", "main": "../lib/utils/index.cjs.js", - "module": "../lib/utils/index.js" + "module": "../lib/utils/index.js", + "sideEffects": false, + "typings": "lib/utils/index.d.ts" }