Skip to content

Instantly share code, notes, and snippets.

@Falieson
Last active May 31, 2018 21:28
Show Gist options
  • Save Falieson/b0d0fed9e87cd47eea2a70b88df7523a to your computer and use it in GitHub Desktop.
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))
### 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