I need to change all the files in the “templates” folder (according to ENV variable I passed) to the same files into sub-folder.
I have a lot of different themes, each theme has differences in markup this why I decided to use separate subfolder according to theme name. A theme name I’m passing before the build (e.g. THEME=theme1 && ember serve).
Is there a proper way to do this? I see the solution as create a node script which will change all the files in “template” copying them from a subfolder, but I do not like it.