Skip to content

Commit 4c924bc

Browse files
authored
fix(js): use outDir to avoid ambient type definition creation (#1396)
1 parent fa4587a commit 4c924bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/docsearch-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"scripts": {
2424
"build:clean": "rm -rf ./dist",
2525
"build:esm": "cross-env BUILD=esm rollup --config",
26-
"build:types": "tsc -p ./tsconfig.declaration.json --outFile ./dist/esm/index.d.ts",
26+
"build:types": "tsc -p ./tsconfig.declaration.json --outDir ./dist/esm",
2727
"build:umd": "cross-env BUILD=umd rollup --config",
2828
"build": "yarn build:clean && yarn build:umd && yarn build:esm && yarn build:types",
2929
"on:change": "concurrently \"yarn build:esm\" \"yarn build:types\"",

0 commit comments

Comments
 (0)