Here's the issue:
When I run 'babel ./src/MyTypescript.ts --out-dir ./wwwroot/js/', I don't get any errors and it just says '0 compiled'.
Even though my .babelrc
file contains all the necessary configurations for Babel 7 to compile typescript using webpack babel loader (including the preset "@babel/typescript" and plugin "babel-plugin-transform-class-properties"), it still doesn't work as expected.