Skip to content

Commit

Permalink
feat: add prebundle
Browse files Browse the repository at this point in the history
  • Loading branch information
laclys committed Jun 16, 2023
1 parent 1fe6602 commit 46107e8
Show file tree
Hide file tree
Showing 9 changed files with 483 additions and 23 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ node_modules
dist
build
.temp
vendors

# misc
.DS_Store
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"scripts": {
"prepare": "husky install",
"build": "tsup",
"build": "tsup && pnpm build:deps",
"build:deps": "tsx ./scripts/prebundle.ts",
"dev": "tsup --watch",
"start": "tsup --watch",
"lint": "eslint --fix --ext .ts,.tsx,.js,.jsx ./",
Expand Down Expand Up @@ -38,6 +39,7 @@
"@types/node": "^20.1.7",
"@types/react": "^18.2.6",
"@types/react-dom": "^18.2.4",
"@types/resolve": "^1.20.2",
"@typescript-eslint/eslint-plugin": "^5.59.6",
"@typescript-eslint/parser": "^5.59.6",
"@vitest/ui": "^0.31.1",
Expand Down Expand Up @@ -66,6 +68,7 @@
"@vitejs/plugin-react": "^4.0.0",
"acorn": "^8.8.2",
"cac": "^6.7.14",
"esbuild": "^0.18.4",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"fast-glob": "^3.2.12",
Expand All @@ -86,6 +89,7 @@
"remark-mdx-frontmatter": "^3.0.0",
"remark-parse": "^10.0.2",
"remark-rehype": "^10.1.0",
"resolve": "^1.22.2",
"shiki": "^0.14.2",
"sirv": "^2.0.3",
"unified": "^10.1.2",
Expand Down
Loading

0 comments on commit 46107e8

Please sign in to comment.