Closed Keith-CY closed 1 year ago
From the tsconfig.json we can see that output directory is set to dist(https://github.com/ckb-js/kuai/blob/develop/packages/samples/mvp-dapp/tsconfig.json#L6), which is listed in .gitignore. While there's an empty directory named build(https://github.com/ckb-js/kuai/tree/develop/packages/samples/mvp-dapp/build) reserved in samples/mvp-dapp. My question is that what's the difference between build and dist, and why is dist ignored in git(https://github.com/ckb-js/kuai/blob/develop/packages/samples/mvp-dapp/.gitignore#L161) but build is not.
tsconfig.json
output
dist
.gitignore
build
samples/mvp-dapp
git
Same question to the libs empty directory(https://github.com/ckb-js/kuai/tree/develop/packages/samples/mvp-dapp/libs)
libs
Has been removed by https://github.com/ckb-js/kuai/pull/147
From the
tsconfig.json
we can see thatoutput
directory is set todist
(https://github.com/ckb-js/kuai/blob/develop/packages/samples/mvp-dapp/tsconfig.json#L6), which is listed in.gitignore
. While there's an empty directory namedbuild
(https://github.com/ckb-js/kuai/tree/develop/packages/samples/mvp-dapp/build) reserved insamples/mvp-dapp
. My question is that what's the difference betweenbuild
anddist
, and why isdist
ignored ingit
(https://github.com/ckb-js/kuai/blob/develop/packages/samples/mvp-dapp/.gitignore#L161) butbuild
is not.Same question to the
libs
empty directory(https://github.com/ckb-js/kuai/tree/develop/packages/samples/mvp-dapp/libs)