ckb-js / kuai

A protocol and framework for building universal dapps on Nervos CKB
MIT License
22 stars 11 forks source link

Question about the `build` directory #131

Closed Keith-CY closed 1 year ago

Keith-CY commented 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.

Same question to the libs empty directory(https://github.com/ckb-js/kuai/tree/develop/packages/samples/mvp-dapp/libs)

Keith-CY commented 1 year ago

Has been removed by https://github.com/ckb-js/kuai/pull/147