summaryrefslogtreecommitdiff
path: root/cli/tests/ts_import_from_js.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-06-01 21:01:51 +0200
committerGitHub <noreply@github.com>2020-06-01 21:01:51 +0200
commitc81399080686bb5293869f30714a6d1b97a75801 (patch)
tree247f5046dd3c18b44b5d5127b13f046e1b32de88 /cli/tests/ts_import_from_js.js
parentbecbb56b19e96e4dd72b861217a855fba953d290 (diff)
fix: compile TS dependencies of JS files (#6000)
This commit fixes regression that caused TS dependencies not being compiled. Check was added that ensures TS compiler is run if any of dependencies in module graph is TS/TSX/JSX.
Diffstat (limited to 'cli/tests/ts_import_from_js.js')
-rw-r--r--cli/tests/ts_import_from_js.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tests/ts_import_from_js.js b/cli/tests/ts_import_from_js.js
new file mode 100644
index 000000000..e06ca15a2
--- /dev/null
+++ b/cli/tests/ts_import_from_js.js
@@ -0,0 +1 @@
+import "./005_more_imports.ts";