Skip to content

Commit

Permalink
型生成用に --emitDeclarationOnly を指定する
Browse files Browse the repository at this point in the history
  • Loading branch information
voluntas committed Dec 15, 2024
1 parent 8394590 commit 1ac93db
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"scripts": {
"build": "vite build",
"watch": "vite build --watch",
"dist": "pnpm clean && pnpm install && vite build && tsc",
"dist": "pnpm clean && pnpm install && vite build && tsc --emitDeclarationOnly",
"dev": "vite --config examples/vite.config.mjs",
"e2e-test": "pnpm build && playwright test --project=chromium",
"lint": "biome lint",
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"strict": true,
"declaration": true,
"declarationDir": "./dist",
"emitDeclarationOnly": true,
"strictNullChecks": true,
"importHelpers": true,
"moduleResolution": "Bundler",
Expand Down
1 change: 0 additions & 1 deletion vite.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { execSync } from 'node:child_process'
import { resolve } from 'node:path'
import { defineConfig } from 'vite'
import pkg from './package.json'
Expand Down

0 comments on commit 1ac93db

Please sign in to comment.