Skip to content

Commit

Permalink
build: make dist cleaner
Browse files Browse the repository at this point in the history
  • Loading branch information
AmAzing129 committed Aug 30, 2024
1 parent e9930e6 commit a32286e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"description": "A React hooks library for building AI-powered apps as simple as possible.",
"type": "module",
"source": "src/index.ts",
"main": "./dist/index.umd.js",
"module": "./dist/index.module.js",
"main": "./dist/index.cjs",
"exports": {
"types": "./dist/index.d.ts",
"default": "./dist/index.modern.js"
Expand All @@ -14,8 +13,8 @@
"dist"
],
"scripts": {
"build": "microbundle --tsconfig tsconfig.build.json",
"dev": "microbundle watch --no-sourcemap --tsconfig tsconfig.build.json",
"build": "microbundle --no-sourcemap --tsconfig tsconfig.build.json --format modern,cjs",
"dev": "microbundle watch --no-sourcemap --tsconfig tsconfig.build.json --format modern,cjs",
"demo": "next dev",
"ci": "pnpm run test",
"test": "vitest",
Expand Down

0 comments on commit a32286e

Please sign in to comment.