fix(js): use outDir to avoid ambient type definition creation (#1396)
This commit is contained in:
parent
fa4587a287
commit
4c924bc3c1
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@
|
|||
"scripts": {
|
||||
"build:clean": "rm -rf ./dist",
|
||||
"build:esm": "cross-env BUILD=esm rollup --config",
|
||||
"build:types": "tsc -p ./tsconfig.declaration.json --outFile ./dist/esm/index.d.ts",
|
||||
"build:types": "tsc -p ./tsconfig.declaration.json --outDir ./dist/esm",
|
||||
"build:umd": "cross-env BUILD=umd rollup --config",
|
||||
"build": "yarn build:clean && yarn build:umd && yarn build:esm && yarn build:types",
|
||||
"on:change": "concurrently \"yarn build:esm\" \"yarn build:types\"",
|
||||
|
|
|
|||
Loading…
Reference in a new issue