Last active
May 31, 2018 21:28
-
-
Save Falieson/b0d0fed9e87cd47eea2a70b88df7523a to your computer and use it in GitHub Desktop.
S2. F05. TSC recompilation issues (ARTICLE: TS-Module w/ Declarations (Part 1/4))
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### TS-Module w/ Declarations (Part 1/4) | |
# http://TGRstack.com/#ts-module_articles_part-1 | |
# mv HelloWorld and re-compile (Section 2. Figure 05.) | |
### | |
falieson:./ts-module/$ mkdir src/hello | |
falieson:./ts-module/$ mv src/HelloWorld.ts src/hello/ | |
## !! update references in src/index.ts to the new hello directory !! | |
falieson:./ts-module/$ tsc | |
falieson:./ts-module/$ cd dist/ && find . && cd ../ | |
. | |
./hello | |
./hello/HelloWorld.js.map | |
./hello/HelloWorld.js | |
./HelloWorld.js.map # <=== from previous compile | |
./HelloWorld.js # <=== from previous compile | |
./index.js | |
./index.js.map |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment