Closed RomkeVdMeulen closed 8 years ago
One thing you could do is have two tsconfig files: one named tsconfig.json
for IDEs to use, which would include both src
and test
, and one named something else for the build process to use, which would exclude test
.
Solved it by removing the tests from the exclude
list and configuring the files for normal build explicitly in Gulp.
I'm working on an Aurelia app. Structure (simplified) is like this:
My src files are compiled build-time, but the test files are transpiled on-the-fly by karma during test runs, so they're on the
exclude
list in mytsconfig.json
. However, I still want autocompletion and syntax errors in my test files. But it seems that the plugin picks up that the test files are excluded fromtsconfig.json
and does nothing with the file, giving this error instead:Is there a way around this?