From ae02c7e3a5d8fef9a62d5f45b0c9c5467f25a201 Mon Sep 17 00:00:00 2001 From: terwer Date: Mon, 10 Apr 2023 18:47:25 +0800 Subject: [PATCH] feat: add esbuild hello for zhi-core --- .prettierrc.json | 5 + apps/web/pages/index.tsx | 6 +- apps/zhi-blog-astro/astro.config.mjs | 4 +- apps/zhi-core/esbuild.config.ts | 1 + pnpm-lock.yaml | 214 ++++++++++++++++++++++++--- 5 files changed, 201 insertions(+), 29 deletions(-) create mode 100644 .prettierrc.json create mode 100644 apps/zhi-core/esbuild.config.ts diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 00000000..56a6883e --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1,5 @@ +{ + "semi": false, + "singleQuote": false, + "printWidth": 120 +} diff --git a/apps/web/pages/index.tsx b/apps/web/pages/index.tsx index 6ec0887c..afd4f64d 100644 --- a/apps/web/pages/index.tsx +++ b/apps/web/pages/index.tsx @@ -1,4 +1,4 @@ -import { Button } from "ui"; +import {Button} from "ui" export default function Web() { return ( @@ -6,5 +6,5 @@ export default function Web() {

Web