--copy-files => copying Component.ts and Component.js from src to webapp
developedbysom opened this issue · comments
Hello,
The below command copying uncompiled TS and JS files from the src folder into the web app and hence application fails to run.
npx babel src --out-dir webapp --source-maps true --extensions \".ts,.js\" --copy-files
Changing into the below format works for me, I am not very sure if this is what we should do in practice:
npx babel src --out-dir webapp --source-maps true --extensions ".ts,.js" --copy-files
The problem I am experiencing while running this command along with npx but if we run with npm run build:ts, the problem is not occurring.
As this command itself converts from ".ts,.js" to ".ts,.js"
Thanks for this sample project, it helps a lot! :)
BR,
Somnath