Open InsaLili opened 3 years ago
+1 here. I also added json in my include
array: ("include": ["src", "src/**/*.json", "types"]
) which is normally a fix for tsc
but it does not work with tsdx
+1
temp solution is the coping of json files using rollup-plugin-copy
Current Behavior
I have
"resolveJsonModule": true
in my tsconfig.json. I import and use several json files in my typescript files. If I runtsc
, the json files are compiled to the dist folder. But if I runtsdx build
, the json files are missing in the dist folder.Expected behavior
json files should also be compiled to the dist folder when
resolveJsonModule
is set totrue
in tsconfigEnvironment