I am trying to separate the html and css files on the basis of the respective components.Here is the folder structure
In the above image, app is working as source containing components and respective html and css files and respective js files are generating in 'build' folder. To copy css and html files, I found out to use following script in pacakge.json from here : Angular 2 + Typescript compiler copy html and css files:
"html": "find ./app -name '*.html' -type f -exec cp --parents {} ./dist \\;"
and running following command:
npm run html
But it is not copying the html files to 'build'. Any suggestion