diff --git a/.scripts/version.sh b/.scripts/version.sh index 21ca67f..08971f2 100644 --- a/.scripts/version.sh +++ b/.scripts/version.sh @@ -3,11 +3,11 @@ ### # @Author: Shirtiny # @Date: 2021-06-25 12:13:58 - # @LastEditTime: 2021-06-25 14:28:58 + # @LastEditTime: 2021-06-25 16:23:54 # @Description: ### -set -e +# set -e error() { echo "🚨 $1" diff --git a/src/browser.ts b/src/browser.ts index 2ae56db..6a96517 100644 --- a/src/browser.ts +++ b/src/browser.ts @@ -1,7 +1,10 @@ /* * @Author: Shirtiny * @Date: 2021-06-18 21:17:49 - * @LastEditTime: 2021-06-24 22:42:18 + * @LastEditTime: 2021-06-25 16:23:25 * @Description: */ export * from "./main"; + +import * as shLogger from "./main"; +export default shLogger; diff --git a/src/cli.ts b/src/cli.ts index 34713d8..eb932d4 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -6,3 +6,6 @@ */ export * from "./main"; + +import * as shLogger from "./main"; +export default shLogger; diff --git a/src/es.ts b/src/es.ts index 8e73432..e3bdfcf 100644 --- a/src/es.ts +++ b/src/es.ts @@ -1,7 +1,10 @@ /* * @Author: Shirtiny * @Date: 2021-06-24 13:57:50 - * @LastEditTime: 2021-06-24 13:58:02 + * @LastEditTime: 2021-06-25 16:23:36 * @Description: */ export * from "./main"; + +import * as shLogger from "./main"; +export default shLogger;