Skip to content

Commit

Permalink
build: rename dist/index.d.ts to fauda.d.ts
Browse files Browse the repository at this point in the history
`microbundle` should generate `fauda.d.ts` but generates `index.d.ts` instead. As a workaround I'm
renaming the file in the `postbuild` script.
  • Loading branch information
ngryman committed Nov 29, 2020
1 parent a50b7e1 commit 4036dcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"build:cli": "microbundle cli.ts -o dist/cli.js -f cjs --target node",
"build:library": "microbundle index.ts -f modern,cjs --target node",
"build": "run-p build:*",
"postbuild": "rm -rf dist/test",
"postbuild": "mv dist/index.d.ts dist/fauda.d.ts && rm -rf dist/test",
"dev:cli": "microbundle watch cli.ts -o dist/cli.js -f cjs --target node --no-compress",
"dev:library": "microbundle watch index.ts -f modern --target node --no-compress",
"dev": "run-p dev:*",
Expand Down

0 comments on commit 4036dcf

Please # to comment.