Skip to content

Commit

Permalink
fix: build dts
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Sep 10, 2021
1 parent 08b4bb6 commit b87b580
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
],
"scripts": {
"prepublishOnly": "npm run build",
"build": "run-s build:*",
"build": "rimraf dist && run-s build:*",
"dev": "vite src/client",
"build:js": "tsup src/node/index.ts --format cjs,esm --env.NODE_ENV production",
"build:js": "tsup src/node/index.ts --format cjs,esm --dts --env.NODE_ENV production",
"build:client": "vite build src/client",
"dev:js": "nr build:js --watch src",
"dev:client": "vite build src/client --watch",
Expand Down Expand Up @@ -63,6 +63,7 @@
"fuse.js": "^6.4.6",
"npm-run-all": "^4.1.5",
"prism-theme-vars": "^0.2.2",
"rimraf": "^3.0.2",
"tsup": "^4.14.0",
"typescript": "^4.4.2",
"unplugin-auto-import": "^0.4.5",
Expand Down
2 changes: 2 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b87b580

Please sign in to comment.